Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",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.001128/0.001128, allocations: 100.3 kB / 16.4 MB, free: 6.484 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.00117/0.00117, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.738/0.738, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 65.89 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1647, allocations: 76.17 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.007276/0.1721, allocations: 4.329 MB / 0.6358 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.1756, allocations: 1.866 MB / 0.6376 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.1761, allocations: 8 kB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.1781, allocations: 0.5953 MB / 0.6382 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009173/0.1791, allocations: 266.6 kB / 0.6385 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.18, allocations: 249.8 kB / 0.6387 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00099/0.181, allocations: 0.6073 MB / 0.6393 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008858/0.1819, allocations: 470.2 kB / 0.6397 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.1824, allocations: 247.1 kB / 0.64 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006256/0.183, allocations: 271 kB / 0.6402 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.682e-05/0.1831, allocations: 40 kB / 0.6403 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005932/0.1837, allocations: 255.5 kB / 0.6405 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.1839, allocations: 147.5 kB / 0.6407 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.1843, allocations: 219 kB / 0.6409 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009933/0.1853, allocations: 0.6115 MB / 0.6415 GB, free: 10.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1853, allocations: 0 / 0.6415 GB, free: 10.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1853, allocations: 0 / 0.6415 GB, free: 10.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.1853, allocations: 0 / 0.6415 GB, free: 10.75 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001552/0.1869, allocations: 0.7252 MB / 0.6422 GB, free: 9.977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1869, allocations: 8.031 kB / 0.6422 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.187, allocations: 74.72 kB / 0.6423 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.1881, allocations: 156.2 kB / 0.6424 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.1887, allocations: 334.5 kB / 0.6427 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.1888, allocations: 29.36 kB / 0.6427 GB, free: 9.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.1889, allocations: 36.38 kB / 0.6428 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/0.1897, allocations: 0.5316 MB / 0.6433 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1897, allocations: 3.938 kB / 0.6433 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.1897, allocations: 16 kB / 0.6433 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/0.1898, allocations: 36.58 kB / 0.6434 GB, free: 8.676 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.1904, allocations: 390.2 kB / 0.6437 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.1932, allocations: 2.392 MB / 0.6461 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.1937, allocations: 262.4 kB / 0.6463 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.1939, allocations: 124.8 kB / 0.6464 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1939, allocations: 0 / 0.6464 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.194, allocations: 34.56 kB / 0.6465 GB, free: 5.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.194, allocations: 0 / 0.6465 GB, free: 5.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002231/0.1962, allocations: 1.127 MB / 0.6476 GB, free: 4.027 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1962, allocations: 55.41 kB / 0.6476 GB, free: 3.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.1966, allocations: 304.4 kB / 0.6479 GB, free: 3.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1966, allocations: 29.7 kB / 0.6479 GB, free: 3.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1968, allocations: 227.6 kB / 0.6482 GB, free: 3.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.1969, allocations: 90.69 kB / 0.6482 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.197, allocations: 58.03 kB / 0.6483 GB, free: 3.234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1971, allocations: 342.8 kB / 0.6486 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1973, allocations: 108.6 kB / 0.6487 GB, free: 2.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.1975, allocations: 187.7 kB / 0.6489 GB, free: 2.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.1979, allocations: 325 kB / 0.6492 GB, free: 2.211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1979, allocations: 0 / 0.6492 GB, free: 2.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007525/0.1987, allocations: 450.5 kB / 0.6496 GB, free: 1.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1987, allocations: 5.719 kB / 0.6497 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1987, allocations: 4 kB / 0.6497 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.1991, allocations: 94.69 kB / 0.6497 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.1994, allocations: 63.91 kB / 0.6498 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.2028, allocations: 4.387 MB / 0.6541 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.2031, allocations: 15.98 kB / 0.6541 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.2031, allocations: 12.14 kB / 0.6541 GB, free: 12.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.2033, allocations: 181.8 kB / 0.6543 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.2034, allocations: 39.55 kB / 0.6543 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.34e-05/0.2035, allocations: 34.31 kB / 0.6544 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2035, allocations: 4 kB / 0.6544 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.2035, allocations: 0 / 0.6544 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2035, allocations: 4 kB / 0.6544 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.204, allocations: 401.4 kB / 0.6548 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.204, allocations: 3.938 kB / 0.6548 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.2042, allocations: 31.97 kB / 0.6548 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.2045, allocations: 102.4 kB / 0.6549 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2046, allocations: 4 kB / 0.6549 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.2077, allocations: 4.38 MB / 0.6592 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2077, allocations: 7.875 kB / 0.6592 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.2085, allocations: 0.555 MB / 0.6597 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.2087, allocations: 124.7 kB / 0.6598 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.2087, allocations: 4 kB / 0.6598 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2089, allocations: 20.05 kB / 0.6599 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.209, allocations: 12.08 kB / 0.6599 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.209, allocations: 8 kB / 0.6599 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002192/0.2092, allocations: 215 kB / 0.6601 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2092, allocations: 0 / 0.6601 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004854/0.2097, allocations: 96 kB / 0.6602 GB, free: 6.016 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.2108, allocations: 1.097 MB / 0.6612 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009062/0.2117, allocations: 0.6058 MB / 0.6618 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.2118, allocations: 4 kB / 0.6618 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.2123, allocations: 484 kB / 0.6623 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.2129, allocations: 75.66 kB / 0.6624 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.2176, allocations: 3.373 MB / 0.6657 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.2181, allocations: 0.8388 MB / 0.6665 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.2183, allocations: 58.94 kB / 0.6665 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2185, allocations: 103.4 kB / 0.6666 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.2185, allocations: 4 kB / 0.6666 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.2524, allocations: 7.89 MB / 0.6743 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.175/9.428, allocations: 7.938 kB / 0.6744 GB, free: 7.336 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)