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.001675/0.001675, allocations: 111.3 kB / 17.08 MB, free: 5.816 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.001722/0.001723, allocations: 192.7 kB / 18.02 MB, free: 4.965 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7431/0.7431, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 69.8 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1523, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006593/0.1589, allocations: 4.079 MB / 0.6367 GB, free: 340 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.1619, allocations: 1.586 MB / 0.6383 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.1622, allocations: 11.94 kB / 0.6383 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.164, allocations: 0.5904 MB / 0.6388 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.1647, allocations: 234.8 kB / 0.6391 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.1653, allocations: 215.5 kB / 0.6393 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007682/0.1661, allocations: 0.5452 MB / 0.6398 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007844/0.1669, allocations: 477.7 kB / 0.6403 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.1673, allocations: 227.3 kB / 0.6405 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.1678, allocations: 251.1 kB / 0.6407 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.803e-05/0.1679, allocations: 36 kB / 0.6407 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.1683, allocations: 163.7 kB / 0.6409 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.1685, allocations: 151.6 kB / 0.641 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.1688, allocations: 199 kB / 0.6412 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007024/0.1695, allocations: 0.5179 MB / 0.6417 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1695, allocations: 4 kB / 0.6417 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1695, allocations: 0 / 0.6417 GB, free: 11.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.1695, allocations: 0 / 0.6417 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.001447/0.171, allocations: 0.6864 MB / 0.6424 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.171, allocations: 12.03 kB / 0.6424 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007761/0.1718, allocations: 100.5 kB / 0.6425 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.1723, allocations: 307.6 kB / 0.6428 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/0.1724, allocations: 51.27 kB / 0.6429 GB, free: 9.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.1724, allocations: 36.38 kB / 0.6429 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009156/0.1734, allocations: 0.5048 MB / 0.6434 GB, free: 9.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1734, allocations: 0 / 0.6434 GB, free: 9.336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.1734, allocations: 12 kB / 0.6434 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.018e-05/0.1735, allocations: 28.98 kB / 0.6434 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.1742, allocations: 391.6 kB / 0.6438 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.1768, allocations: 2.208 MB / 0.646 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.1775, allocations: 262.6 kB / 0.6462 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.1779, allocations: 148.8 kB / 0.6464 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1779, allocations: 4 kB / 0.6464 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.178, allocations: 30.56 kB / 0.6464 GB, free: 6.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.178, allocations: 4 kB / 0.6464 GB, free: 6.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001561/0.1795, allocations: 0.5732 MB / 0.647 GB, free: 5.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1796, allocations: 51.41 kB / 0.647 GB, free: 5.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1798, allocations: 229 kB / 0.6472 GB, free: 5.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1799, allocations: 29.7 kB / 0.6472 GB, free: 5.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.18, allocations: 207.6 kB / 0.6474 GB, free: 4.859 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.1801, allocations: 71.03 kB / 0.6475 GB, free: 4.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1802, allocations: 61.61 kB / 0.6476 GB, free: 4.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1803, allocations: 330.8 kB / 0.6479 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.1806, allocations: 96.8 kB / 0.648 GB, free: 4.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.1809, allocations: 183.6 kB / 0.6482 GB, free: 4.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.1814, allocations: 269.3 kB / 0.6484 GB, free: 3.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1814, allocations: 0 / 0.6484 GB, free: 3.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008774/0.1823, allocations: 378.1 kB / 0.6488 GB, free: 3.398 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1823, allocations: 12.06 kB / 0.6488 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1823, allocations: 7.984 kB / 0.6488 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.1829, allocations: 105.6 kB / 0.6489 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.1831, allocations: 55.91 kB / 0.6489 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.1866, allocations: 3.05 MB / 0.6519 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.1868, allocations: 35.67 kB / 0.652 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1869, allocations: 12 kB / 0.652 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000364/0.1872, allocations: 220.1 kB / 0.6522 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002677/0.1875, allocations: 175.1 kB / 0.6523 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004772/0.188, allocations: 269.1 kB / 0.6526 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.188, allocations: 0 / 0.6526 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007988/0.1888, allocations: 355.7 kB / 0.6529 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1889, allocations: 13.91 kB / 0.653 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1889, allocations: 4 kB / 0.653 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.1892, allocations: 77 kB / 0.653 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.1894, allocations: 55.91 kB / 0.6531 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.1914, allocations: 1.613 MB / 0.6547 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.1917, allocations: 31.73 kB / 0.6547 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.1918, allocations: 11.94 kB / 0.6547 GB, free: 12.8 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.0001538/0.1919, allocations: 200.3 kB / 0.6549 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.192, allocations: 19.81 kB / 0.6549 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.1921, allocations: 30.17 kB / 0.6549 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1921, allocations: 0 / 0.6549 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1921, allocations: 0 / 0.6549 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1921, allocations: 7.938 kB / 0.655 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.1935, allocations: 0.8251 MB / 0.6558 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1935, allocations: 0 / 0.6558 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.1937, allocations: 27.98 kB / 0.6558 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003928/0.1941, allocations: 113.6 kB / 0.6559 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1941, allocations: 4 kB / 0.6559 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/0.1971, allocations: 3.024 MB / 0.6588 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1971, allocations: 0 / 0.6588 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.1979, allocations: 423 kB / 0.6593 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.198, allocations: 116.8 kB / 0.6594 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.1981, allocations: 4 kB / 0.6594 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1983, allocations: 11.98 kB / 0.6594 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.1983, allocations: 15.98 kB / 0.6594 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1984, allocations: 4 kB / 0.6594 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001565/0.1985, allocations: 164.5 kB / 0.6596 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1985, allocations: 3.938 kB / 0.6596 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007003/0.1992, allocations: 175.3 kB / 0.6597 GB, free: 7.242 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.0001263/0.1994, allocations: 103.2 kB / 0.6598 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.2013, allocations: 0.7684 MB / 0.6606 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2014, allocations: 3.938 kB / 0.6606 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007775/0.2021, allocations: 363 kB / 0.6609 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.2026, allocations: 60.77 kB / 0.661 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2037, allocations: 0.6226 MB / 0.6616 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.2042, allocations: 0.8109 MB / 0.6624 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.68e-05/0.2043, allocations: 27.44 kB / 0.6624 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.2043, allocations: 0 / 0.6624 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.00914/0.2134, allocations: 6.179 MB / 0.6684 GB, free: 14.19 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)