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.001029/0.001029, allocations: 109.8 kB / 16.41 MB, free: 6.027 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.001141/0.001141, allocations: 190.1 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.297/1.297, allocations: 222.9 MB / 241 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.6938/0.6938, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.17 kB / 0.5577 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1312, allocations: 76.18 MB / 0.6321 GB, free: 4.543 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005127/0.1363, allocations: 4.084 MB / 0.636 GB, free: 448 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.1389, allocations: 1.593 MB / 0.6376 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.1391, allocations: 8 kB / 0.6376 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.1407, allocations: 0.582 MB / 0.6382 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.1411, allocations: 234.8 kB / 0.6384 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.1415, allocations: 215.5 kB / 0.6386 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.1421, allocations: 0.5491 MB / 0.6391 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006399/0.1427, allocations: 473.8 kB / 0.6396 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.143, allocations: 231.3 kB / 0.6398 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.1434, allocations: 255 kB / 0.6401 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.259e-05/0.1435, allocations: 36 kB / 0.6401 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.1438, allocations: 167.7 kB / 0.6403 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.1439, allocations: 147.7 kB / 0.6404 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1441, allocations: 199 kB / 0.6406 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005152/0.1446, allocations: 0.5179 MB / 0.6411 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1446, allocations: 0 / 0.6411 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1446, allocations: 0 / 0.6411 GB, free: 11.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1446, allocations: 0 / 0.6411 GB, free: 11.25 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.0011/0.1457, allocations: 0.6865 MB / 0.6418 GB, free: 10.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1458, allocations: 12.02 kB / 0.6418 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006841/0.1465, allocations: 100.5 kB / 0.6419 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.1469, allocations: 311.5 kB / 0.6422 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.1469, allocations: 55.27 kB / 0.6422 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.147, allocations: 28.38 kB / 0.6422 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/0.1478, allocations: 0.5087 MB / 0.6427 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1478, allocations: 0 / 0.6427 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.1479, allocations: 16 kB / 0.6428 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.1479, allocations: 24.98 kB / 0.6428 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000662/0.1486, allocations: 383.7 kB / 0.6431 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.151, allocations: 2.212 MB / 0.6453 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.1516, allocations: 266.6 kB / 0.6456 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.152, allocations: 144.8 kB / 0.6457 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.152, allocations: 7.984 kB / 0.6457 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.152, allocations: 34.56 kB / 0.6457 GB, free: 6.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.152, allocations: 0 / 0.6457 GB, free: 6.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001404/0.1534, allocations: 0.5694 MB / 0.6463 GB, free: 5.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1535, allocations: 59.41 kB / 0.6463 GB, free: 5.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1537, allocations: 221 kB / 0.6466 GB, free: 5.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1537, allocations: 33.7 kB / 0.6466 GB, free: 5.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.1539, allocations: 207.6 kB / 0.6468 GB, free: 4.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.1539, allocations: 67.05 kB / 0.6469 GB, free: 4.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.154, allocations: 57.59 kB / 0.6469 GB, free: 4.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1542, allocations: 330.8 kB / 0.6472 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.1544, allocations: 100.8 kB / 0.6473 GB, free: 4.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.1547, allocations: 183.5 kB / 0.6475 GB, free: 4.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.1551, allocations: 278 kB / 0.6478 GB, free: 3.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1551, allocations: 0 / 0.6478 GB, free: 3.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008276/0.156, allocations: 381 kB / 0.6481 GB, free: 3.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.156, allocations: 4 kB / 0.6481 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.156, allocations: 8 kB / 0.6481 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/0.1565, allocations: 113.8 kB / 0.6482 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1567, allocations: 47.97 kB / 0.6483 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.16, allocations: 3.042 MB / 0.6513 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.1602, allocations: 31.69 kB / 0.6513 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.1603, allocations: 15.98 kB / 0.6513 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003232/0.1606, allocations: 216 kB / 0.6515 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002936/0.1609, allocations: 189.7 kB / 0.6517 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004836/0.1614, allocations: 261.3 kB / 0.6519 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.1614, allocations: 0 / 0.6519 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008162/0.1622, allocations: 352 kB / 0.6523 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1622, allocations: 9.5 kB / 0.6523 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1623, allocations: 4 kB / 0.6523 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.1626, allocations: 80.91 kB / 0.6524 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1628, allocations: 59.89 kB / 0.6524 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.1647, allocations: 1.617 MB / 0.654 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.165, allocations: 31.73 kB / 0.654 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.165, allocations: 19.88 kB / 0.6541 GB, free: 12.9 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.0001247/0.1651, allocations: 192.3 kB / 0.6542 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.1652, allocations: 23.75 kB / 0.6543 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.1653, allocations: 34.23 kB / 0.6543 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1653, allocations: 0 / 0.6543 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1653, allocations: 4 kB / 0.6543 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1653, allocations: 3.938 kB / 0.6543 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.1666, allocations: 0.8251 MB / 0.6551 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1666, allocations: 0 / 0.6551 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1668, allocations: 27.98 kB / 0.6551 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003632/0.1671, allocations: 105.8 kB / 0.6552 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1672, allocations: 4 kB / 0.6552 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.1699, allocations: 3.024 MB / 0.6582 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1699, allocations: 3.984 kB / 0.6582 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.1707, allocations: 423.2 kB / 0.6586 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1708, allocations: 112.8 kB / 0.6587 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1708, allocations: 11.98 kB / 0.6587 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.171, allocations: 8 kB / 0.6587 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.1711, allocations: 23.97 kB / 0.6587 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1711, allocations: 7.938 kB / 0.6588 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001384/0.1713, allocations: 164.5 kB / 0.6589 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1713, allocations: 0 / 0.6589 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005686/0.1718, allocations: 175.3 kB / 0.6591 GB, free: 7.34 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.0001126/0.172, allocations: 99.25 kB / 0.6592 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.1738, allocations: 0.7579 MB / 0.6599 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1738, allocations: 0 / 0.6599 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007475/0.1745, allocations: 373.9 kB / 0.6603 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.1749, allocations: 52.52 kB / 0.6603 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.1759, allocations: 0.5815 MB / 0.6609 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1763, allocations: 0.8109 MB / 0.6617 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.1765, allocations: 58.25 kB / 0.6617 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.1765, allocations: 19.44 kB / 0.6618 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1765, allocations: 0 / 0.6618 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of Templates: time 0.008319/0.1849, allocations: 4.733 MB / 0.6664 GB, free: 15.77 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)