Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.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.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",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.0007662/0.0007662, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007939/0.0007939, allocations: 171.7 kB / 16.58 MB, free: 6.051 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.345/1.345, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.617/0.617, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002846, allocations: 8.969 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.005629/0.1292, allocations: 5.573 MB / 0.5623 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005387/0.1347, allocations: 4.214 MB / 0.5664 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005576/0.1352, allocations: 23.88 kB / 0.5665 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.1358, allocations: 146.9 kB / 0.5666 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.1376, allocations: 0.6264 MB / 0.5672 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.1382, allocations: 239.1 kB / 0.5674 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1395, allocations: 1.203 MB / 0.5686 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006961/0.1402, allocations: 488.4 kB / 0.5691 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000624/0.1408, allocations: 382.5 kB / 0.5695 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007374/0.1416, allocations: 458.2 kB / 0.5699 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.1417, allocations: 36 kB / 0.5699 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000372/0.1421, allocations: 151.8 kB / 0.5701 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1423, allocations: 207.3 kB / 0.5703 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.1424, allocations: 161.3 kB / 0.5704 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006949/0.1431, allocations: 0.8104 MB / 0.5712 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1432, allocations: 0 / 0.5712 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1432, allocations: 0 / 0.5712 GB, free: 12.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.1432, allocations: 0 / 0.5712 GB, free: 12.91 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.0015/0.1447, allocations: 0.9738 MB / 0.5722 GB, free: 11.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1447, allocations: 8.031 kB / 0.5722 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.1449, allocations: 102.5 kB / 0.5723 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.1475, allocations: 0.6505 MB / 0.5729 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.1482, allocations: 0.5259 MB / 0.5734 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1483, allocations: 41.31 kB / 0.5735 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.1484, allocations: 48 kB / 0.5735 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.15, allocations: 1.018 MB / 0.5745 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1501, allocations: 0 / 0.5745 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.1501, allocations: 20 kB / 0.5745 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-05/0.1502, allocations: 49.28 kB / 0.5746 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.1522, allocations: 1.02 MB / 0.5756 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.1556, allocations: 3.525 MB / 0.579 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.1568, allocations: 0.5165 MB / 0.5795 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.1573, allocations: 248.7 kB / 0.5797 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1574, allocations: 4 kB / 0.5797 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1574, allocations: 38.55 kB / 0.5798 GB, free: 3.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.1574, allocations: 3.938 kB / 0.5798 GB, free: 3.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.005767/0.1632, allocations: 2.217 MB / 0.582 GB, free: 1.398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.1632, allocations: 59.34 kB / 0.582 GB, free: 1.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.1638, allocations: 0.5587 MB / 0.5826 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1639, allocations: 37.7 kB / 0.5826 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.1641, allocations: 352.2 kB / 0.5829 GB, free: 380 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1642, allocations: 149.8 kB / 0.5831 GB, free: 228 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1642, allocations: 16 kB / 0.5831 GB, free: 212 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.219/0.3832, allocations: 366.8 kB / 0.5834 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008477/0.3841, allocations: 270.8 kB / 0.5837 GB, free: 32.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006807/0.3847, allocations: 382.7 kB / 0.5841 GB, free: 32.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.3854, allocations: 308.8 kB / 0.5844 GB, free: 32.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3855, allocations: 2.281 kB / 0.5844 GB, free: 32.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002339/0.3878, allocations: 0.9774 MB / 0.5853 GB, free: 32.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-05/0.3879, allocations: 183.4 kB / 0.5855 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3879, allocations: 7.531 kB / 0.5855 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.389, allocations: 279.6 kB / 0.5858 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.3896, allocations: 126.3 kB / 0.5859 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005614/0.3952, allocations: 8.463 MB / 0.5941 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.3958, allocations: 60.8 kB / 0.5942 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.3959, allocations: 16.09 kB / 0.5942 GB, free: 24.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.3959, allocations: 4.031 kB / 0.5942 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002111/0.398, allocations: 1.081 MB / 0.5953 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.398, allocations: 7.969 kB / 0.5953 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/0.3987, allocations: 224.1 kB / 0.5955 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.3993, allocations: 130.3 kB / 0.5956 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004328/0.4036, allocations: 8.161 MB / 0.6036 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.4042, allocations: 55.81 kB / 0.6036 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.4042, allocations: 17.72 kB / 0.6037 GB, free: 15.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003728/0.4046, allocations: 305.5 kB / 0.604 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4047, allocations: 71.47 kB / 0.604 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.4049, allocations: 78.75 kB / 0.6041 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4049, allocations: 12.86 kB / 0.6041 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4049, allocations: 1.031 kB / 0.6041 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4049, allocations: 2.922 kB / 0.6041 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007957/0.4057, allocations: 0.6418 MB / 0.6047 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4057, allocations: 0.7031 kB / 0.6047 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.4062, allocations: 100.8 kB / 0.6048 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008574/0.4071, allocations: 266.8 kB / 0.6051 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.4071, allocations: 10.67 kB / 0.6051 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004729/0.4118, allocations: 8.416 MB / 0.6133 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4119, allocations: 1.469 kB / 0.6133 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.414, allocations: 0.9606 MB / 0.6143 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.4142, allocations: 189.4 kB / 0.6144 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.4143, allocations: 9.625 kB / 0.6144 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.4147, allocations: 50.98 kB / 0.6145 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.4149, allocations: 39.52 kB / 0.6145 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.4149, allocations: 9.25 kB / 0.6145 GB, free: 6.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004939/0.4154, allocations: 398 kB / 0.6149 GB, free: 5.973 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4154, allocations: 8.438 kB / 0.6149 GB, free: 5.965 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001151/0.4166, allocations: 300 kB / 0.6152 GB, free: 5.938 MB / 446.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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002404/0.419, allocations: 1.507 MB / 0.6167 GB, free: 4.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003618/0.4226, allocations: 2.421 MB / 0.6191 GB, free: 3.312 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4226, allocations: 4.781 kB / 0.6191 GB, free: 3.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.4238, allocations: 1.02 MB / 0.6201 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.4248, allocations: 216.6 kB / 0.6203 GB, free: 2.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006991/0.4318, allocations: 4.352 MB / 0.6245 GB, free: 384 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.4324, allocations: 0.9871 MB / 0.6255 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006518/0.433, allocations: 149.4 kB / 0.6256 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.4334, allocations: 233 kB / 0.6258 GB, free: 15.43 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4334, allocations: 1.406 kB / 0.6258 GB, free: 15.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.4667, allocations: 18.41 MB / 0.6438 GB, free: 3.715 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.467, allocations: 220.6 kB / 0.644 GB, free: 3.469 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.463, allocations: 0 / 0.644 GB, free: 3.469 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) Environment - environmentSimulation: