Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 106.5 kB / 16.4 MB, free: 6.023 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.001016/0.001016, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7388/0.7388, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.86 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 76.18 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005779/0.1474, allocations: 4.078 MB / 0.636 GB, free: 348 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.1502, allocations: 1.59 MB / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1504, allocations: 8 kB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.1521, allocations: 0.5837 MB / 0.6382 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005476/0.1527, allocations: 242.8 kB / 0.6384 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1532, allocations: 218.4 kB / 0.6386 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.1538, allocations: 0.5491 MB / 0.6391 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007344/0.1546, allocations: 473.8 kB / 0.6396 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.1549, allocations: 223.3 kB / 0.6398 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.1553, allocations: 255 kB / 0.6401 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.1554, allocations: 36 kB / 0.6401 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.1557, allocations: 171.6 kB / 0.6403 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.1558, allocations: 147.7 kB / 0.6404 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.156, allocations: 195 kB / 0.6406 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.1566, allocations: 0.5257 MB / 0.6411 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1566, allocations: 0 / 0.6411 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1566, allocations: 0 / 0.6411 GB, free: 11.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1566, allocations: 0 / 0.6411 GB, free: 11.14 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001287/0.1579, allocations: 0.6865 MB / 0.6418 GB, free: 10.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.158, allocations: 8.031 kB / 0.6418 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007152/0.1587, allocations: 104.5 kB / 0.6419 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.1591, allocations: 303.6 kB / 0.6422 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/0.1592, allocations: 55.25 kB / 0.6422 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.1593, allocations: 32.38 kB / 0.6422 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008618/0.1601, allocations: 0.5087 MB / 0.6427 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1602, allocations: 7.922 kB / 0.6427 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.1602, allocations: 12 kB / 0.6428 GB, free: 9.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.1603, allocations: 28.98 kB / 0.6428 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006978/0.161, allocations: 379.7 kB / 0.6431 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.1633, allocations: 2.208 MB / 0.6453 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.164, allocations: 262.6 kB / 0.6456 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.1644, allocations: 152.7 kB / 0.6457 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1644, allocations: 7.984 kB / 0.6457 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1645, allocations: 34.56 kB / 0.6457 GB, free: 6.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 1.933e-06/0.1645, allocations: 0 / 0.6457 GB, free: 6.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001527/0.166, allocations: 0.5694 MB / 0.6463 GB, free: 5.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1661, allocations: 59.39 kB / 0.6464 GB, free: 5.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.1663, allocations: 221 kB / 0.6466 GB, free: 5.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.1663, allocations: 33.7 kB / 0.6466 GB, free: 5.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1665, allocations: 211.6 kB / 0.6468 GB, free: 4.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.1665, allocations: 63.05 kB / 0.6469 GB, free: 4.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.1667, allocations: 57.61 kB / 0.6469 GB, free: 4.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1668, allocations: 330.8 kB / 0.6472 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.167, allocations: 104.8 kB / 0.6473 GB, free: 4.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.1673, allocations: 179.5 kB / 0.6475 GB, free: 4.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/0.1678, allocations: 270 kB / 0.6478 GB, free: 3.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1678, allocations: 0 / 0.6478 GB, free: 3.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008699/0.1687, allocations: 381.1 kB / 0.6481 GB, free: 3.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1687, allocations: 8 kB / 0.6481 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1687, allocations: 4 kB / 0.6481 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.1692, allocations: 109.9 kB / 0.6482 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.1695, allocations: 51.91 kB / 0.6483 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.1726, allocations: 3.058 MB / 0.6513 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.1729, allocations: 35.67 kB / 0.6513 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1729, allocations: 8 kB / 0.6513 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003415/0.1733, allocations: 220 kB / 0.6515 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002611/0.1736, allocations: 175.1 kB / 0.6517 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004661/0.174, allocations: 275 kB / 0.652 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.1741, allocations: 0 / 0.652 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007924/0.1749, allocations: 350.1 kB / 0.6523 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1749, allocations: 7.938 kB / 0.6523 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1749, allocations: 4 kB / 0.6523 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/0.1752, allocations: 76.91 kB / 0.6524 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.1754, allocations: 59.91 kB / 0.6524 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.1774, allocations: 1.602 MB / 0.654 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.1777, allocations: 31.73 kB / 0.654 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1777, allocations: 19.88 kB / 0.654 GB, free: 12.81 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.1778, allocations: 196.2 kB / 0.6542 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.1779, allocations: 15.81 kB / 0.6542 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.178, allocations: 34.23 kB / 0.6543 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.178, allocations: 0 / 0.6543 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.178, allocations: 0 / 0.6543 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.178, allocations: 11.92 kB / 0.6543 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.1793, allocations: 0.8226 MB / 0.6551 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1794, allocations: 0 / 0.6551 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1795, allocations: 39.91 kB / 0.6551 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003858/0.1799, allocations: 101.7 kB / 0.6552 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1799, allocations: 0 / 0.6552 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.1828, allocations: 3.035 MB / 0.6582 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1828, allocations: 3.938 kB / 0.6582 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/0.1836, allocations: 413.3 kB / 0.6586 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1838, allocations: 116.8 kB / 0.6587 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.1838, allocations: 8 kB / 0.6587 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.184, allocations: 11.98 kB / 0.6587 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.1841, allocations: 19.97 kB / 0.6587 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1841, allocations: 8 kB / 0.6587 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001439/0.1842, allocations: 160.5 kB / 0.6589 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1842, allocations: 0 / 0.6589 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006302/0.1849, allocations: 175.3 kB / 0.6591 GB, free: 7.246 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001193/0.185, allocations: 103.2 kB / 0.6592 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.187, allocations: 0.7579 MB / 0.6599 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.187, allocations: 0 / 0.6599 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008181/0.1878, allocations: 376.2 kB / 0.6603 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.1883, allocations: 64.41 kB / 0.6603 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1893, allocations: 0.5752 MB / 0.6609 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1897, allocations: 0.8187 MB / 0.6617 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.1899, allocations: 58.23 kB / 0.6617 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.19, allocations: 19.44 kB / 0.6618 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.19, allocations: 0 / 0.6618 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of Templates: time 0.008503/0.1985, allocations: 4.73 MB / 0.6664 GB, free: 15.66 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)