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: translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 115.3 kB / 17.08 MB, free: 5.992 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.001152/0.001152, allocations: 200.2 kB / 18.02 MB, free: 5.066 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7503/0.7503, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 69.58 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.161, allocations: 76.18 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.00947/0.1706, allocations: 6.261 MB / 0.6388 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007886/0.1785, allocations: 4.542 MB / 0.6433 GB, free: 9.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.1794, allocations: 23.88 kB / 0.6433 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.1823, allocations: 0.9126 MB / 0.6442 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.185, allocations: 0.7917 MB / 0.645 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009941/0.186, allocations: 315.5 kB / 0.6453 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.188, allocations: 1.135 MB / 0.6464 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.1892, allocations: 0.681 MB / 0.647 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000939/0.1902, allocations: 482.3 kB / 0.6475 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.1913, allocations: 0.4981 MB / 0.648 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.1916, allocations: 72 kB / 0.648 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008039/0.1924, allocations: 283.5 kB / 0.6483 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000362/0.1928, allocations: 247.2 kB / 0.6486 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007369/0.1935, allocations: 413.9 kB / 0.6489 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.195, allocations: 1.075 MB / 0.65 GB, free: 2.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.195, allocations: 0 / 0.65 GB, free: 2.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.195, allocations: 0 / 0.65 GB, free: 2.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.195, allocations: 0 / 0.65 GB, free: 2.684 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002003/0.197, allocations: 1.083 MB / 0.6511 GB, free: 1.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1971, allocations: 8.031 kB / 0.6511 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/0.2004, allocations: 0.632 MB / 0.6517 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.2015, allocations: 0.5852 MB / 0.6522 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.2015, allocations: 41.69 kB / 0.6523 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2016, allocations: 52.11 kB / 0.6523 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.2039, allocations: 1.018 MB / 0.6533 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.204, allocations: 7.938 kB / 0.6533 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.204, allocations: 20 kB / 0.6534 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.429e-05/0.2041, allocations: 49.28 kB / 0.6534 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.2068, allocations: 1.004 MB / 0.6544 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/0.2128, allocations: 3.478 MB / 0.6578 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.2145, allocations: 496 kB / 0.6583 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.2151, allocations: 232.7 kB / 0.6585 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.2152, allocations: 4 kB / 0.6585 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.2152, allocations: 34.56 kB / 0.6585 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.2152, allocations: 3.938 kB / 0.6585 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007361/0.2226, allocations: 2.025 MB / 0.6605 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.2227, allocations: 55.41 kB / 0.6606 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008612/0.2236, allocations: 0.5627 MB / 0.6611 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.2237, allocations: 37.69 kB / 0.6611 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.224, allocations: 348.2 kB / 0.6615 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.2242, allocations: 153.8 kB / 0.6616 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.2243, allocations: 90.16 kB / 0.6617 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2246, allocations: 378.7 kB / 0.6621 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007375/0.2253, allocations: 258.9 kB / 0.6623 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.2261, allocations: 361.8 kB / 0.6627 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.2276, allocations: 0.6187 MB / 0.6633 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2276, allocations: 0 / 0.6633 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002656/0.2303, allocations: 0.9349 MB / 0.6642 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.2304, allocations: 8 kB / 0.6642 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.2304, allocations: 4 kB / 0.6642 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.2316, allocations: 273.2 kB / 0.6644 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.2323, allocations: 123.8 kB / 0.6646 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00826/0.2406, allocations: 9.121 MB / 0.6735 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.2414, allocations: 43.95 kB / 0.6735 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.2415, allocations: 16 kB / 0.6735 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001018/0.2425, allocations: 441 kB / 0.6739 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007656/0.2433, allocations: 357.4 kB / 0.6743 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001409/0.2447, allocations: 0.609 MB / 0.6749 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.805e-06/0.2448, allocations: 4 kB / 0.6749 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002688/0.2475, allocations: 1.113 MB / 0.676 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2475, allocations: 11.94 kB / 0.676 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2475, allocations: 4 kB / 0.676 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008329/0.2483, allocations: 221.3 kB / 0.6762 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.249, allocations: 123.8 kB / 0.6763 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006975/0.256, allocations: 8.787 MB / 0.6849 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/0.2568, allocations: 52.02 kB / 0.6849 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.2569, allocations: 16 kB / 0.685 GB, free: 12.32 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.2571, allocations: 208.1 kB / 0.6852 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.2573, allocations: 75.19 kB / 0.6852 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.2575, allocations: 78.31 kB / 0.6853 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2576, allocations: 8 kB / 0.6853 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.2576, allocations: 7.938 kB / 0.6853 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2576, allocations: 3.984 kB / 0.6853 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.2586, allocations: 0.6455 MB / 0.686 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2586, allocations: 0 / 0.686 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.2591, allocations: 83.91 kB / 0.686 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.2602, allocations: 265 kB / 0.6863 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.2603, allocations: 8 kB / 0.6863 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007377/0.2676, allocations: 9.062 MB / 0.6951 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2677, allocations: 4.062 kB / 0.6952 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.2702, allocations: 0.9169 MB / 0.696 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.2706, allocations: 184.2 kB / 0.6962 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.2708, allocations: 7.938 kB / 0.6962 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/0.2714, allocations: 47.95 kB / 0.6963 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.2716, allocations: 35.94 kB / 0.6963 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.2716, allocations: 12 kB / 0.6963 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000576/0.2722, allocations: 403.1 kB / 0.6967 GB, free: 15.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2722, allocations: 0 / 0.6967 GB, free: 15.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001306/0.2735, allocations: 304 kB / 0.697 GB, free: 15.03 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.2737, allocations: 111.4 kB / 0.6971 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004141/0.2778, allocations: 2.352 MB / 0.6994 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2779, allocations: 0 / 0.6994 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.2794, allocations: 0.9999 MB / 0.7004 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.2808, allocations: 235.7 kB / 0.7006 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.2839, allocations: 1.35 MB / 0.7019 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/0.2846, allocations: 0.9858 MB / 0.7029 GB, free: 8.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.2849, allocations: 47.42 kB / 0.7029 GB, free: 8.656 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/0.2849, allocations: 0 / 0.7029 GB, free: 8.656 MB / 0.545 GB Notification: Performance of Templates: time 0.0327/0.3176, allocations: 27 MB / 0.7293 GB, free: 13.69 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)