Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 106.4 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 64.5 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1457, allocations: 76.19 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004857/0.1506, allocations: 3.184 MB / 0.6347 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1529, allocations: 1.379 MB / 0.636 GB, free: 344 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.1531, allocations: 4 kB / 0.636 GB, free: 340 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.1543, allocations: 334.7 kB / 0.6364 GB, free: 4 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.1548, allocations: 147.3 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.1553, allocations: 139.6 kB / 0.6366 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.1558, allocations: 330.8 kB / 0.6369 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.1563, allocations: 262.4 kB / 0.6372 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.1565, allocations: 139.5 kB / 0.6373 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.1569, allocations: 151.4 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.1569, allocations: 20 kB / 0.6375 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.1573, allocations: 167.6 kB / 0.6376 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.1574, allocations: 87.78 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.1575, allocations: 119.4 kB / 0.6378 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.158, allocations: 355.7 kB / 0.6382 GB, free: 14.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.158, allocations: 0 / 0.6382 GB, free: 14.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.158, allocations: 0 / 0.6382 GB, free: 14.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.158, allocations: 0 / 0.6382 GB, free: 14.12 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009614/0.159, allocations: 0.5458 MB / 0.6387 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.159, allocations: 12.03 kB / 0.6387 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.603e-05/0.1591, allocations: 54.73 kB / 0.6388 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006185/0.1597, allocations: 80.48 kB / 0.6389 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.1601, allocations: 263.4 kB / 0.6391 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1602, allocations: 20.75 kB / 0.6391 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.1602, allocations: 16.38 kB / 0.6391 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.1607, allocations: 316.5 kB / 0.6394 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1607, allocations: 4 kB / 0.6394 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.1608, allocations: 11.94 kB / 0.6395 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.1608, allocations: 20.38 kB / 0.6395 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.1612, allocations: 217.5 kB / 0.6397 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.1627, allocations: 1.482 MB / 0.6411 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.1631, allocations: 207.7 kB / 0.6413 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1632, allocations: 44.84 kB / 0.6414 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1633, allocations: 3.984 kB / 0.6414 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1633, allocations: 42.48 kB / 0.6414 GB, free: 10.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1633, allocations: 0 / 0.6414 GB, free: 10.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005456/0.1639, allocations: 255.5 kB / 0.6417 GB, free: 10.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.1639, allocations: 51.41 kB / 0.6417 GB, free: 10.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1641, allocations: 207.6 kB / 0.6419 GB, free: 9.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1641, allocations: 33.7 kB / 0.6419 GB, free: 9.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.1642, allocations: 175.6 kB / 0.6421 GB, free: 9.715 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1643, allocations: 31.55 kB / 0.6421 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.1643, allocations: 37.62 kB / 0.6422 GB, free: 9.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.1644, allocations: 322.8 kB / 0.6425 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.463e-05/0.1645, allocations: 47.97 kB / 0.6425 GB, free: 9.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.1647, allocations: 116.5 kB / 0.6426 GB, free: 9.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.1649, allocations: 168.4 kB / 0.6428 GB, free: 8.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1649, allocations: 4 kB / 0.6428 GB, free: 8.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000364/0.1653, allocations: 206.1 kB / 0.643 GB, free: 8.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1653, allocations: 5.875 kB / 0.643 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1653, allocations: 7.938 kB / 0.643 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.1655, allocations: 37 kB / 0.643 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1656, allocations: 28.08 kB / 0.6431 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.1666, allocations: 1.437 MB / 0.6445 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1668, allocations: 19.88 kB / 0.6445 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1668, allocations: 8 kB / 0.6445 GB, free: 7.027 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.1669, allocations: 156.3 kB / 0.6447 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.167, allocations: 19.91 kB / 0.6447 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.167, allocations: 17.41 kB / 0.6447 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.167, allocations: 0 / 0.6447 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.167, allocations: 3.984 kB / 0.6447 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.167, allocations: 0 / 0.6447 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.1676, allocations: 495 kB / 0.6452 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1677, allocations: 0 / 0.6452 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.1677, allocations: 11.98 kB / 0.6452 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.223e-05/0.1678, allocations: 28.84 kB / 0.6452 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1678, allocations: 0 / 0.6452 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009084/0.1687, allocations: 1.425 MB / 0.6466 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1688, allocations: 0 / 0.6466 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.169, allocations: 240.1 kB / 0.6468 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.1691, allocations: 101 kB / 0.6469 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1692, allocations: 3.984 kB / 0.6469 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1693, allocations: 4 kB / 0.6469 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1693, allocations: 11.98 kB / 0.6469 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.1693, allocations: 4 kB / 0.6469 GB, free: 4.281 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1695, allocations: 148.2 kB / 0.6471 GB, free: 4.137 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1695, allocations: 0 / 0.6471 GB, free: 4.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.1698, allocations: 55.84 kB / 0.6471 GB, free: 4.082 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005138/0.1703, allocations: 0.7639 MB / 0.6479 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.1707, allocations: 242.6 kB / 0.6481 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1707, allocations: 0 / 0.6481 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1709, allocations: 158.7 kB / 0.6483 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1713, allocations: 37.97 kB / 0.6483 GB, free: 2.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.1736, allocations: 2.147 MB / 0.6504 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1739, allocations: 0.7593 MB / 0.6511 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.174, allocations: 33.47 kB / 0.6512 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.1741, allocations: 55.42 kB / 0.6512 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1741, allocations: 4 kB / 0.6512 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.1978, allocations: 4.052 MB / 0.6552 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.985/9.183, allocations: 14.5 kB / 0.6552 GB, free: 11.74 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)