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.0009736/0.0009739, allocations: 96.58 kB / 15.69 MB, free: 480 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.0009244/0.0009244, allocations: 177.5 kB / 16.57 MB, free: 6.398 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.433/1.433, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6916/0.6916, allocations: 113.7 MB / 405.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 9.625 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.005588/0.174, allocations: 5.313 MB / 0.5619 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006261/0.1803, allocations: 4.128 MB / 0.5659 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.181, allocations: 19.88 kB / 0.566 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.1815, allocations: 143.1 kB / 0.5661 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.1838, allocations: 0.6124 MB / 0.5667 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.1846, allocations: 235.5 kB / 0.5669 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009307/0.1855, allocations: 0.6703 MB / 0.5676 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000603/0.1861, allocations: 484.4 kB / 0.568 GB, free: 32 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.1866, allocations: 346.7 kB / 0.5684 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000515/0.1871, allocations: 366.5 kB / 0.5687 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.1872, allocations: 36 kB / 0.5688 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.1875, allocations: 139.8 kB / 0.5689 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1877, allocations: 183.4 kB / 0.5691 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1878, allocations: 169.3 kB / 0.5692 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.1885, allocations: 0.8028 MB / 0.57 GB, free: 14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1886, allocations: 0 / 0.57 GB, free: 14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1886, allocations: 0 / 0.57 GB, free: 14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1886, allocations: 0 / 0.57 GB, free: 14 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.001445/0.19, allocations: 0.9777 MB / 0.571 GB, free: 12.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1901, allocations: 11.97 kB / 0.571 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.1902, allocations: 102.5 kB / 0.5711 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.1932, allocations: 0.6583 MB / 0.5717 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.194, allocations: 0.5337 MB / 0.5722 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.194, allocations: 41.3 kB / 0.5723 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1941, allocations: 44 kB / 0.5723 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.196, allocations: 1.014 MB / 0.5733 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1961, allocations: 0 / 0.5733 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.1962, allocations: 27.98 kB / 0.5733 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.204e-05/0.1962, allocations: 49.28 kB / 0.5734 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.1984, allocations: 1.012 MB / 0.5744 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.2029, allocations: 3.521 MB / 0.5778 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.2047, allocations: 0.5159 MB / 0.5783 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.2048, allocations: 7.984 kB / 0.5783 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.2048, allocations: 38.5 kB / 0.5784 GB, free: 4.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.404e-06/0.2048, allocations: 0 / 0.5784 GB, free: 4.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006875/0.2117, allocations: 2.217 MB / 0.5805 GB, free: 2.723 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2118, allocations: 55.41 kB / 0.5806 GB, free: 2.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.2125, allocations: 0.5665 MB / 0.5811 GB, free: 2.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.2125, allocations: 33.7 kB / 0.5812 GB, free: 2.043 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.2128, allocations: 356.2 kB / 0.5815 GB, free: 1.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2129, allocations: 149.8 kB / 0.5816 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.213, allocations: 16 kB / 0.5817 GB, free: 1.527 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2131, allocations: 370.8 kB / 0.582 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006522/0.2138, allocations: 276.9 kB / 0.5823 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.2145, allocations: 377.8 kB / 0.5826 GB, free: 484 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.2152, allocations: 305.7 kB / 0.5829 GB, free: 180 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2152, allocations: 4 kB / 0.5829 GB, free: 176 kB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.3492/0.5644, allocations: 0.966 MB / 0.5839 GB, free: 32.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002927/0.5647, allocations: 1.228 MB / 0.5851 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.5647, allocations: 3.406 kB / 0.5851 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.5659, allocations: 274.7 kB / 0.5853 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.5666, allocations: 133 kB / 0.5855 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.5729, allocations: 8.56 MB / 0.5938 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.5736, allocations: 55.73 kB / 0.5939 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.5737, allocations: 19.7 kB / 0.5939 GB, free: 23.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5737, allocations: 4.188 kB / 0.5939 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002843/0.5765, allocations: 1.081 MB / 0.595 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5766, allocations: 3.938 kB / 0.595 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008735/0.5774, allocations: 219.2 kB / 0.5952 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.5781, allocations: 134.5 kB / 0.5953 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005445/0.5836, allocations: 8.226 MB / 0.6033 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.5843, allocations: 53.14 kB / 0.6034 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.5844, allocations: 19.11 kB / 0.6034 GB, free: 14.89 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.0004292/0.5848, allocations: 311.4 kB / 0.6037 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5849, allocations: 68.91 kB / 0.6038 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.5851, allocations: 79.77 kB / 0.6038 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.5851, allocations: 8.766 kB / 0.6038 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.5851, allocations: 4.688 kB / 0.6038 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5851, allocations: 7.125 kB / 0.6039 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.586, allocations: 0.6456 MB / 0.6045 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.586, allocations: 1.25 kB / 0.6045 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.5865, allocations: 99.58 kB / 0.6046 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009527/0.5875, allocations: 266.9 kB / 0.6048 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.5875, allocations: 10.77 kB / 0.6048 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005656/0.5932, allocations: 8.512 MB / 0.6132 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5932, allocations: 0.7188 kB / 0.6132 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.5956, allocations: 0.9684 MB / 0.6141 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.5959, allocations: 180.5 kB / 0.6143 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.596, allocations: 11.34 kB / 0.6143 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.5965, allocations: 49.97 kB / 0.6143 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.5967, allocations: 39.94 kB / 0.6144 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.5967, allocations: 10.12 kB / 0.6144 GB, free: 5.305 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005561/0.5973, allocations: 402.4 kB / 0.6148 GB, free: 5.117 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5973, allocations: 0 / 0.6148 GB, free: 5.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001284/0.5986, allocations: 295.5 kB / 0.615 GB, free: 5.094 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.002536/0.6011, allocations: 1.511 MB / 0.6165 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003905/0.605, allocations: 2.417 MB / 0.6189 GB, free: 2.465 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6051, allocations: 1.031 kB / 0.6189 GB, free: 2.465 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.6065, allocations: 1.026 MB / 0.6199 GB, free: 17.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.6075, allocations: 201 kB / 0.6201 GB, free: 17.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008693/0.6162, allocations: 6.29 MB / 0.6262 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.617, allocations: 0.9988 MB / 0.6272 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007492/0.6177, allocations: 150.1 kB / 0.6273 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.6181, allocations: 240.6 kB / 0.6276 GB, free: 12.64 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.6181, allocations: 0 / 0.6276 GB, free: 12.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8833/1.501, allocations: 18.37 MB / 0.6455 GB, free: 1.539 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/1.502, allocations: 209.9 kB / 0.6457 GB, free: 1.293 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.92, allocations: 0 / 0.6457 GB, free: 1.293 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: