Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.00168/0.00168, allocations: 108.6 kB / 16.41 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.00182/0.00182, allocations: 191.9 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8251/0.8251, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 67.67 kB / 0.5735 GB, free: 26.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.13, allocations: 78.87 MB / 0.6505 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003697/0.1337, allocations: 2.423 MB / 0.6529 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1361, allocations: 1.575 MB / 0.6545 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.1362, allocations: 7.938 kB / 0.6545 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.1368, allocations: 167.3 kB / 0.6546 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.1371, allocations: 155.3 kB / 0.6548 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1375, allocations: 186.5 kB / 0.6549 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1378, allocations: 215.3 kB / 0.6552 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.1381, allocations: 121.3 kB / 0.6553 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1382, allocations: 95.67 kB / 0.6554 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.1384, allocations: 107.5 kB / 0.6555 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.1385, allocations: 12 kB / 0.6555 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.1388, allocations: 215.6 kB / 0.6557 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.1389, allocations: 59.88 kB / 0.6557 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.139, allocations: 75.61 kB / 0.6558 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.1394, allocations: 298.9 kB / 0.6561 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1394, allocations: 7.938 kB / 0.6561 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1394, allocations: 0 / 0.6561 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1394, allocations: 0 / 0.6561 GB, free: 13.88 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006445/0.1401, allocations: 490.6 kB / 0.6566 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1401, allocations: 12.03 kB / 0.6566 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.1402, allocations: 46.73 kB / 0.6566 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007083/0.1409, allocations: 92.67 kB / 0.6567 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1411, allocations: 226.6 kB / 0.6569 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1412, allocations: 16.66 kB / 0.6569 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1412, allocations: 16.33 kB / 0.657 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.1417, allocations: 295.4 kB / 0.6572 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1417, allocations: 0 / 0.6572 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.1417, allocations: 8 kB / 0.6572 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.1418, allocations: 20.22 kB / 0.6573 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.1422, allocations: 220.4 kB / 0.6575 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.144, allocations: 1.599 MB / 0.659 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.1444, allocations: 319.2 kB / 0.6593 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.871e-05/0.1445, allocations: 65.67 kB / 0.6594 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1446, allocations: 4 kB / 0.6594 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1446, allocations: 42.5 kB / 0.6595 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1446, allocations: 0 / 0.6595 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0005453/0.1452, allocations: 249 kB / 0.6597 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.1452, allocations: 81.11 kB / 0.6598 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1455, allocations: 207.4 kB / 0.66 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1455, allocations: 29.89 kB / 0.66 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1456, allocations: 159.9 kB / 0.6601 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1457, allocations: 35.69 kB / 0.6602 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.1458, allocations: 57.64 kB / 0.6602 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1459, allocations: 322.8 kB / 0.6605 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1461, allocations: 76.81 kB / 0.6606 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.1463, allocations: 167 kB / 0.6608 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.1466, allocations: 235 kB / 0.661 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1466, allocations: 0 / 0.661 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004962/0.1471, allocations: 277.3 kB / 0.6613 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1472, allocations: 7.938 kB / 0.6613 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1472, allocations: 4 kB / 0.6613 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.1472, allocations: 7.938 kB / 0.6613 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.1475, allocations: 55.89 kB / 0.6613 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1475, allocations: 4 kB / 0.6613 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.1477, allocations: 32.14 kB / 0.6614 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1478, allocations: 12.12 kB / 0.6614 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002117/0.148, allocations: 168.1 kB / 0.6615 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001997/0.1482, allocations: 158.7 kB / 0.6617 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002928/0.1485, allocations: 219.8 kB / 0.6619 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.1485, allocations: 0 / 0.6619 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004402/0.1489, allocations: 253.3 kB / 0.6621 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.149, allocations: 4.406 kB / 0.6621 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.149, allocations: 8 kB / 0.6622 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.149, allocations: 4 kB / 0.6622 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.1492, allocations: 55.84 kB / 0.6622 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.1492, allocations: 12.39 kB / 0.6622 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1494, allocations: 19.94 kB / 0.6622 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1494, allocations: 12 kB / 0.6623 GB, free: 6.996 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.1496, allocations: 200.1 kB / 0.6624 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.1496, allocations: 11.91 kB / 0.6625 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1499, allocations: 154.9 kB / 0.6626 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1499, allocations: 4 kB / 0.6626 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1499, allocations: 0 / 0.6626 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1499, allocations: 0 / 0.6626 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/0.1508, allocations: 0.7197 MB / 0.6633 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1509, allocations: 4 kB / 0.6633 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.151, allocations: 19.98 kB / 0.6633 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.151, allocations: 4 kB / 0.6633 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.151, allocations: 4.344 kB / 0.6633 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.151, allocations: 11.94 kB / 0.6634 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.151, allocations: 7.984 kB / 0.6634 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.1513, allocations: 382.2 kB / 0.6637 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.1514, allocations: 104.9 kB / 0.6638 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.1515, allocations: 7.984 kB / 0.6638 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1517, allocations: 12 kB / 0.6638 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.1517, allocations: 15.92 kB / 0.6639 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1517, allocations: 8 kB / 0.6639 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001846/0.1519, allocations: 160.8 kB / 0.664 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1519, allocations: 3.938 kB / 0.664 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004806/0.1524, allocations: 68 kB / 0.6641 GB, free: 4.957 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006331/0.153, allocations: 0.9221 MB / 0.665 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.1536, allocations: 284 kB / 0.6653 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1536, allocations: 0 / 0.6653 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.1537, allocations: 53.34 kB / 0.6653 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.1541, allocations: 33.95 kB / 0.6653 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.1568, allocations: 2.361 MB / 0.6676 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1572, allocations: 0.7325 MB / 0.6684 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002205/0.1574, allocations: 89.44 kB / 0.6685 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.1575, allocations: 44.19 kB / 0.6685 GB, free: 164 kB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1575, allocations: 0 / 0.6685 GB, free: 164 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3663/0.5239, allocations: 3.697 MB / 0.6721 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.232/9.756, allocations: 5.828 kB / 0.6721 GB, free: 12.58 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)