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: translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 117.7 kB / 17.08 MB, free: 5.965 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.001034/0.001034, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7317/0.7317, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 67.53 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1764, allocations: 76.17 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.007144/0.1836, allocations: 4.337 MB / 0.6369 GB, free: 44 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.1873, allocations: 1.862 MB / 0.6388 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.1879, allocations: 11.94 kB / 0.6388 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.1898, allocations: 0.601 MB / 0.6394 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008808/0.1907, allocations: 262.6 kB / 0.6396 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.1915, allocations: 251.4 kB / 0.6399 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009337/0.1925, allocations: 0.6074 MB / 0.6404 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000934/0.1934, allocations: 466.8 kB / 0.6409 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.1939, allocations: 251.1 kB / 0.6411 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006603/0.1946, allocations: 271 kB / 0.6414 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1947, allocations: 40 kB / 0.6414 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005614/0.1953, allocations: 251.4 kB / 0.6417 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.1955, allocations: 151.6 kB / 0.6418 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.1958, allocations: 219 kB / 0.642 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009185/0.1968, allocations: 0.6152 MB / 0.6426 GB, free: 10.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1968, allocations: 0 / 0.6426 GB, free: 10.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1968, allocations: 0 / 0.6426 GB, free: 10.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.969e-05/0.1968, allocations: 0 / 0.6426 GB, free: 10.21 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.001671/0.1985, allocations: 0.7213 MB / 0.6433 GB, free: 9.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1985, allocations: 12.02 kB / 0.6433 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.1996, allocations: 148.2 kB / 0.6435 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.2002, allocations: 342.5 kB / 0.6438 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.2002, allocations: 25.38 kB / 0.6438 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.2003, allocations: 28.38 kB / 0.6439 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008466/0.2011, allocations: 0.5356 MB / 0.6444 GB, free: 8.277 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2012, allocations: 11.88 kB / 0.6444 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.2012, allocations: 19.94 kB / 0.6444 GB, free: 8.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.2013, allocations: 32.64 kB / 0.6444 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.2019, allocations: 382.3 kB / 0.6448 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.2046, allocations: 2.395 MB / 0.6471 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.2052, allocations: 266.5 kB / 0.6474 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2054, allocations: 108.8 kB / 0.6475 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2054, allocations: 4 kB / 0.6475 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2054, allocations: 34.56 kB / 0.6475 GB, free: 4.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.2054, allocations: 0 / 0.6475 GB, free: 4.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002211/0.2076, allocations: 1.134 MB / 0.6486 GB, free: 3.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.2077, allocations: 51.41 kB / 0.6487 GB, free: 3.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.208, allocations: 304.4 kB / 0.649 GB, free: 3.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2081, allocations: 29.7 kB / 0.649 GB, free: 3.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.2082, allocations: 231.6 kB / 0.6492 GB, free: 2.934 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.2083, allocations: 86.75 kB / 0.6493 GB, free: 2.848 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2084, allocations: 62.03 kB / 0.6494 GB, free: 2.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2085, allocations: 334.8 kB / 0.6497 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.2087, allocations: 100.6 kB / 0.6498 GB, free: 2.344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.2089, allocations: 199.8 kB / 0.65 GB, free: 2.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.2093, allocations: 316.9 kB / 0.6503 GB, free: 1.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2093, allocations: 0 / 0.6503 GB, free: 1.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007666/0.2101, allocations: 454.4 kB / 0.6507 GB, free: 1.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2102, allocations: 4 kB / 0.6507 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2102, allocations: 4.344 kB / 0.6507 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.2105, allocations: 94.5 kB / 0.6508 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.2108, allocations: 59.91 kB / 0.6509 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003513/0.2143, allocations: 4.395 MB / 0.6552 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.2146, allocations: 12.14 kB / 0.6552 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.2146, allocations: 16 kB / 0.6552 GB, free: 12.29 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.0002078/0.2148, allocations: 182.4 kB / 0.6554 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.2149, allocations: 35.7 kB / 0.6554 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.4e-05/0.215, allocations: 46.3 kB / 0.6554 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.215, allocations: 4 kB / 0.6554 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.215, allocations: 0 / 0.6554 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.215, allocations: 4 kB / 0.6555 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.2155, allocations: 397.4 kB / 0.6558 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2155, allocations: 0 / 0.6558 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.2157, allocations: 43.84 kB / 0.6559 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/0.216, allocations: 90.5 kB / 0.656 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.216, allocations: 7.938 kB / 0.656 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.2194, allocations: 4.384 MB / 0.6602 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2194, allocations: 0 / 0.6602 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.2202, allocations: 0.5547 MB / 0.6608 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.2204, allocations: 128.7 kB / 0.6609 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.2204, allocations: 0 / 0.6609 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.2206, allocations: 15.98 kB / 0.6609 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.2207, allocations: 15.98 kB / 0.6609 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.2207, allocations: 4 kB / 0.6609 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002314/0.2209, allocations: 215.1 kB / 0.6612 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2209, allocations: 0 / 0.6612 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004949/0.2214, allocations: 104 kB / 0.6613 GB, free: 5.559 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.0001403/0.2216, allocations: 106 kB / 0.6614 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008873/0.2225, allocations: 0.6094 MB / 0.6619 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2225, allocations: 0 / 0.6619 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.223, allocations: 472 kB / 0.6624 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.2235, allocations: 82.16 kB / 0.6625 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.2248, allocations: 0.7443 MB / 0.6632 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.2252, allocations: 0.835 MB / 0.664 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-05/0.2253, allocations: 27.44 kB / 0.664 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.2253, allocations: 7.938 kB / 0.6641 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.01161/0.237, allocations: 8.692 MB / 0.6725 GB, free: 9.867 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)