Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001414/0.001414, allocations: 104.6 kB / 16.45 MB, free: 6.504 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.00144/0.00144, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.269/1.269, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002334/0.002334, allocations: 294.6 kB / 303 MB, free: 9.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 180.9 MB / 0.5261 GB, free: 14.63 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 103.5 kB / 0.7248 GB, free: 40 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1325, allocations: 94.15 MB / 0.8167 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004981/0.1375, allocations: 3.794 MB / 0.8204 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002686/0.1402, allocations: 1.808 MB / 0.8222 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1404, allocations: 19.88 kB / 0.8222 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007959/0.1412, allocations: 266.6 kB / 0.8225 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000576/0.1417, allocations: 302.5 kB / 0.8227 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.1422, allocations: 257.3 kB / 0.823 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006012/0.1428, allocations: 0.6049 MB / 0.8236 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.1432, allocations: 210.6 kB / 0.8238 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.1435, allocations: 239.1 kB / 0.824 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.1438, allocations: 250.9 kB / 0.8243 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.1438, allocations: 24 kB / 0.8243 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.1442, allocations: 279.4 kB / 0.8245 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1443, allocations: 123.6 kB / 0.8247 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.1445, allocations: 222.8 kB / 0.8249 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006414/0.1452, allocations: 0.5916 MB / 0.8254 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1452, allocations: 3.984 kB / 0.8255 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1452, allocations: 0 / 0.8255 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.1452, allocations: 0 / 0.8255 GB, free: 12.41 MB / 0.5762 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.001116/0.1463, allocations: 0.7512 MB / 0.8262 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1463, allocations: 8.031 kB / 0.8262 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.001e-05/0.1464, allocations: 70.7 kB / 0.8263 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007983/0.1472, allocations: 140.5 kB / 0.8264 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.1478, allocations: 403.9 kB / 0.8268 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.1478, allocations: 29.02 kB / 0.8268 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.1479, allocations: 28.38 kB / 0.8268 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/0.1486, allocations: 0.5518 MB / 0.8274 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1487, allocations: 7.938 kB / 0.8274 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.1487, allocations: 19.98 kB / 0.8274 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.1e-05/0.1487, allocations: 40.53 kB / 0.8274 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006822/0.1494, allocations: 401.8 kB / 0.8278 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.1523, allocations: 3.338 MB / 0.8311 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.1529, allocations: 314.4 kB / 0.8314 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.1532, allocations: 156.8 kB / 0.8315 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1532, allocations: 8 kB / 0.8315 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1532, allocations: 46.48 kB / 0.8316 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.1532, allocations: 0 / 0.8316 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27): time 0.001901/0.1551, allocations: 1.063 MB / 0.8326 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1552, allocations: 55.64 kB / 0.8327 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.1555, allocations: 341.6 kB / 0.833 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1555, allocations: 33.7 kB / 0.833 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1557, allocations: 252.1 kB / 0.8333 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.1557, allocations: 103.2 kB / 0.8334 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.1558, allocations: 70.09 kB / 0.8334 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.156, allocations: 346.8 kB / 0.8338 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.1562, allocations: 148.8 kB / 0.8339 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.1566, allocations: 290.5 kB / 0.8342 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/0.1573, allocations: 483 kB / 0.8346 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.1573, allocations: 4 kB / 0.8347 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009325/0.1582, allocations: 0.5656 MB / 0.8352 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1582, allocations: 8.625 kB / 0.8352 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1582, allocations: 4 kB / 0.8352 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.1585, allocations: 86.52 kB / 0.8353 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.1588, allocations: 91.81 kB / 0.8354 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.1588, allocations: 11.94 kB / 0.8354 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.159, allocations: 27.97 kB / 0.8354 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.1591, allocations: 16 kB / 0.8354 GB, free: 1.469 MB / 0.5762 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.0001878/0.1593, allocations: 189.6 kB / 0.8356 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.1593, allocations: 39.77 kB / 0.8357 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.1601, allocations: 456 kB / 0.8361 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1602, allocations: 8 kB / 0.8361 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1602, allocations: 0 / 0.8361 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1602, allocations: 7.984 kB / 0.8361 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.1616, allocations: 0.956 MB / 0.837 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1616, allocations: 0 / 0.837 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.1618, allocations: 59.98 kB / 0.8371 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.162, allocations: 82.5 kB / 0.8372 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1621, allocations: 4 kB / 0.8372 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1621, allocations: 4 kB / 0.8372 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1621, allocations: 0 / 0.8372 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.1629, allocations: 0.5487 MB / 0.8377 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.163, allocations: 136.8 kB / 0.8379 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.1631, allocations: 4 kB / 0.8379 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.1633, allocations: 27.91 kB / 0.8379 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.1634, allocations: 23.97 kB / 0.8379 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1634, allocations: 11.94 kB / 0.8379 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002167/0.1636, allocations: 231.2 kB / 0.8381 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1636, allocations: 4 kB / 0.8381 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003776/0.164, allocations: 88 kB / 0.8382 GB, free: 14.45 MB / 0.5919 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.001117/0.1651, allocations: 1.089 MB / 0.8393 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008561/0.1659, allocations: 0.6238 MB / 0.8399 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1659, allocations: 0 / 0.8399 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.1664, allocations: 425.9 kB / 0.8403 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.167, allocations: 131.2 kB / 0.8404 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.1715, allocations: 3.739 MB / 0.8441 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.172, allocations: 0.8229 MB / 0.8449 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.1722, allocations: 79.36 kB / 0.845 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.1723, allocations: 131.4 kB / 0.8451 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.1724, allocations: 0 / 0.8451 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.206, allocations: 8.37 MB / 0.8533 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.059/9.265, allocations: 6.875 kB / 0.8533 GB, free: 14.89 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.887201102916151] Failed to read output from testmodel.py, exit status != 0: 9.343203546013683 9.355661824 9.207974555 Calling exit ...