Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 113.6 kB / 17.12 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 196.6 kB / 20.08 MB, free: 3.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8876/0.8876, allocations: 129.2 MB / 432.5 MB, free: 13.17 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.89 kB / 0.5987 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4354, allocations: 83.44 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004807/0.4402, allocations: 3.785 MB / 0.6839 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00267/0.4429, allocations: 1.817 MB / 0.6856 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.4432, allocations: 18.06 kB / 0.6857 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009214/0.4441, allocations: 276.3 kB / 0.6859 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006183/0.4447, allocations: 310.7 kB / 0.6862 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.4452, allocations: 240.4 kB / 0.6865 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.4458, allocations: 0.6082 MB / 0.687 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.4461, allocations: 213 kB / 0.6872 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.4464, allocations: 244.1 kB / 0.6875 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.4467, allocations: 248.2 kB / 0.6877 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.4467, allocations: 26.75 kB / 0.6877 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.4471, allocations: 276.4 kB / 0.688 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.4473, allocations: 126.5 kB / 0.6881 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.4475, allocations: 209.1 kB / 0.6883 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008011/0.4483, allocations: 0.594 MB / 0.6889 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4483, allocations: 0 / 0.6889 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4483, allocations: 0 / 0.6889 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.4483, allocations: 4 kB / 0.6889 GB, free: 15.43 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001321/0.4496, allocations: 0.7467 MB / 0.6896 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4497, allocations: 9.438 kB / 0.6896 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.887e-05/0.4498, allocations: 74.89 kB / 0.6897 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000868/0.4506, allocations: 138 kB / 0.6899 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.4513, allocations: 407 kB / 0.6902 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.4513, allocations: 24.27 kB / 0.6903 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.4514, allocations: 28.12 kB / 0.6903 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.4523, allocations: 0.564 MB / 0.6908 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.4523, allocations: 6.188 kB / 0.6908 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.4523, allocations: 12.06 kB / 0.6909 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.486e-05/0.4524, allocations: 42.09 kB / 0.6909 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.4531, allocations: 408.9 kB / 0.6913 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.4564, allocations: 3.335 MB / 0.6945 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.4571, allocations: 310.1 kB / 0.6948 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.4574, allocations: 162.3 kB / 0.695 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.4574, allocations: 6.375 kB / 0.695 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4575, allocations: 35.75 kB / 0.695 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.4575, allocations: 0 / 0.695 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=27): time 0.002306/0.4598, allocations: 1.072 MB / 0.6961 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4598, allocations: 54.48 kB / 0.6961 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.4602, allocations: 338.9 kB / 0.6965 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.4602, allocations: 30.86 kB / 0.6965 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.4604, allocations: 259.6 kB / 0.6967 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.38e-05/0.4605, allocations: 95.73 kB / 0.6968 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.4606, allocations: 76.47 kB / 0.6969 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4608, allocations: 346.4 kB / 0.6972 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.4611, allocations: 149.5 kB / 0.6974 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.4615, allocations: 295.9 kB / 0.6977 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/0.4621, allocations: 485.5 kB / 0.6981 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4621, allocations: 1.062 kB / 0.6981 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001033/0.4632, allocations: 0.5569 MB / 0.6987 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4632, allocations: 8.375 kB / 0.6987 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4632, allocations: 4.25 kB / 0.6987 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/0.4635, allocations: 89.14 kB / 0.6988 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.4639, allocations: 88.66 kB / 0.6988 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.4639, allocations: 14.88 kB / 0.6989 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.4642, allocations: 29.47 kB / 0.6989 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.4642, allocations: 18.41 kB / 0.6989 GB, free: 7.234 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.4644, allocations: 172.4 kB / 0.6991 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.4645, allocations: 42.88 kB / 0.6991 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.4654, allocations: 470.9 kB / 0.6996 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4654, allocations: 3.781 kB / 0.6996 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4654, allocations: 3.938 kB / 0.6996 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4654, allocations: 3.984 kB / 0.6996 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.467, allocations: 0.9623 MB / 0.7005 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.467, allocations: 5.312 kB / 0.7005 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.4673, allocations: 43.72 kB / 0.7006 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.4675, allocations: 92.91 kB / 0.7006 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.4676, allocations: 5.375 kB / 0.7006 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.4676, allocations: 6.75 kB / 0.7007 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4676, allocations: 1.375 kB / 0.7007 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.4684, allocations: 0.5437 MB / 0.7012 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.4686, allocations: 141.4 kB / 0.7013 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.4687, allocations: 7.312 kB / 0.7013 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.4689, allocations: 22.88 kB / 0.7014 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.469, allocations: 25.03 kB / 0.7014 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.469, allocations: 10.12 kB / 0.7014 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002503/0.4693, allocations: 238.4 kB / 0.7016 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4693, allocations: 0 / 0.7016 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000455/0.4697, allocations: 88.36 kB / 0.7017 GB, free: 5.238 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.471, allocations: 1.096 MB / 0.7028 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.472, allocations: 0.6108 MB / 0.7034 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.472, allocations: 0 / 0.7034 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.4725, allocations: 420.7 kB / 0.7038 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008302/0.4734, allocations: 134.1 kB / 0.7039 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.4793, allocations: 3.725 MB / 0.7075 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.4798, allocations: 0.829 MB / 0.7083 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003229/0.4802, allocations: 78.86 kB / 0.7084 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.4804, allocations: 127.4 kB / 0.7085 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of SimCode: time 1.253e-06/0.4804, allocations: 0 / 0.7085 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.5184, allocations: 8.346 MB / 0.7167 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.85, allocations: 18.27 kB / 0.7167 GB, free: 7.496 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.235296811908484] Failed to read output from testmodel.py, exit status != 0: 10.930837237276137 10.944954708 10.493587147 Calling exit ...