Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",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.0009803/0.0009804, allocations: 100.1 kB / 15.88 MB, free: 12 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.00114/0.00114, allocations: 205.9 kB / 16.79 MB, free: 6.84 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.227/1.227, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.627/0.627, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.31 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1225, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0215/0.1441, allocations: 22.42 MB / 0.5777 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2419/0.386, allocations: 17.58 MB / 0.5949 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.389, allocations: 103.6 kB / 0.595 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008488/0.3975, allocations: 3.915 MB / 0.5988 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.4087, allocations: 3.192 MB / 0.6019 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.4126, allocations: 1.178 MB / 0.6031 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009497/0.4221, allocations: 7.069 MB / 0.61 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004188/0.4263, allocations: 2.502 MB / 0.6124 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004094/0.4304, allocations: 2.178 MB / 0.6146 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004124/0.4346, allocations: 2.458 MB / 0.617 GB, free: 1.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.4357, allocations: 228.7 kB / 0.6172 GB, free: 1.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.439, allocations: 1.112 MB / 0.6183 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.4403, allocations: 1.056 MB / 0.6193 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00262/0.4429, allocations: 1.866 MB / 0.6211 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004823/0.4477, allocations: 5.067 MB / 0.6261 GB, free: 12.17 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4478, allocations: 3.938 kB / 0.6261 GB, free: 12.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4478, allocations: 4 kB / 0.6261 GB, free: 12.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000105/0.4479, allocations: 1.75 kB / 0.6261 GB, free: 12.16 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009326/0.4572, allocations: 4.61 MB / 0.6306 GB, free: 9.016 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4573, allocations: 9.406 kB / 0.6306 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000459/0.4577, allocations: 365.7 kB / 0.6309 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.4726, allocations: 3.269 MB / 0.6341 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005178/0.4778, allocations: 2.086 MB / 0.6362 GB, free: 4.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/0.4782, allocations: 467.4 kB / 0.6366 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005395/0.4787, allocations: 245.2 kB / 0.6369 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009637/0.4884, allocations: 4.813 MB / 0.6416 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/0.4884, allocations: 0 / 0.6416 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003036/0.4887, allocations: 113.4 kB / 0.6417 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.4889, allocations: 168.8 kB / 0.6418 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.5002, allocations: 5.194 MB / 0.6469 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.5184, allocations: 14.47 MB / 0.661 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008647/0.5271, allocations: 3.393 MB / 0.6643 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003249/0.5303, allocations: 1.467 MB / 0.6658 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.5305, allocations: 22.33 kB / 0.6658 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0037/0.5342, allocations: 1.8 MB / 0.6676 GB, free: 2.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=163): time 5.27e-06/0.5342, allocations: 3.984 kB / 0.6676 GB, free: 2.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1108/0.645, allocations: 28.22 MB / 0.6951 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002001/0.6452, allocations: 0.4928 MB / 0.6956 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.6481, allocations: 2.292 MB / 0.6978 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002966/0.6484, allocations: 77.7 kB / 0.6979 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.6495, allocations: 1.436 MB / 0.6993 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007002/0.6502, allocations: 0.8222 MB / 0.7001 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007973/0.651, allocations: 416.5 kB / 0.7005 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.6511, allocations: 301.1 kB / 0.7008 GB, free: 372 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004654/0.6557, allocations: 1.929 MB / 0.7027 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00472/0.6605, allocations: 2.239 MB / 0.7049 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009055/0.6695, allocations: 4.15 MB / 0.7089 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.6696, allocations: 4 kB / 0.7089 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01672/0.6863, allocations: 6.539 MB / 0.7153 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.6864, allocations: 148.5 kB / 0.7155 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.6864, allocations: 4 kB / 0.7155 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009154/0.6956, allocations: 2.936 MB / 0.7183 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.6981, allocations: 483.2 kB / 0.7188 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/0.732, allocations: 17.34 MB / 0.7357 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/0.7358, allocations: 323.5 kB / 0.736 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003938/0.7362, allocations: 95.97 kB / 0.7361 GB, free: 11.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001472/0.7377, allocations: 0.6964 MB / 0.7368 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006477/0.7383, allocations: 332 kB / 0.7371 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.739, allocations: 380.1 kB / 0.7375 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.739, allocations: 27.94 kB / 0.7375 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.187e-05/0.739, allocations: 12 kB / 0.7375 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.7391, allocations: 15.94 kB / 0.7375 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.7432, allocations: 3.627 MB / 0.7411 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.7432, allocations: 0 / 0.7411 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/0.7454, allocations: 415.3 kB / 0.7415 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008923/0.7544, allocations: 2.871 MB / 0.7443 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/0.7546, allocations: 51.97 kB / 0.7443 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03238/0.787, allocations: 17.11 MB / 0.761 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.787, allocations: 0.5625 kB / 0.761 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.8027, allocations: 6.173 MB / 0.7671 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.8042, allocations: 0.6922 MB / 0.7677 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005195/0.8047, allocations: 59.92 kB / 0.7678 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002838/0.8075, allocations: 315.6 kB / 0.7681 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/0.8087, allocations: 354.6 kB / 0.7684 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/0.8089, allocations: 71.91 kB / 0.7685 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001936/0.8108, allocations: 1.532 MB / 0.77 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8108, allocations: 0 / 0.77 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002509/0.8133, allocations: 1.043 MB / 0.771 GB, free: 7.523 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01572/0.829, allocations: 6.804 MB / 0.7777 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0199/0.849, allocations: 6.443 MB / 0.784 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.849, allocations: 4 kB / 0.784 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01503/0.864, allocations: 4.037 MB / 0.7879 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/0.8682, allocations: 1.052 MB / 0.7889 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2619/1.13, allocations: 38.09 MB / 0.8261 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.132, allocations: 2.229 MB / 0.8283 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002351/1.135, allocations: 0.5065 MB / 0.8288 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.136, allocations: 1.326 MB / 0.8301 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/1.136, allocations: 0.7812 kB / 0.8301 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.247, allocations: 99.34 MB / 0.9271 GB, free: 144.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/1.247, allocations: 252.4 kB / 0.9274 GB, free: 144.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/5.295, allocations: 0 / 0.9274 GB, free: 144.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)