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.001263/0.001263, allocations: 117 kB / 17.08 MB, free: 5.832 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.001351/0.001352, 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.317/1.317, 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.7519/0.7519, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 66 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.165, allocations: 76.17 MB / 0.6327 GB, free: 4.32 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005701/0.1707, allocations: 4.085 MB / 0.6367 GB, free: 220 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1736, allocations: 1.589 MB / 0.6383 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.1739, allocations: 8 kB / 0.6383 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.1756, allocations: 0.5783 MB / 0.6388 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005847/0.1762, allocations: 238.9 kB / 0.6391 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.1767, allocations: 215.6 kB / 0.6393 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.1773, allocations: 0.5452 MB / 0.6398 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/0.178, allocations: 473.8 kB / 0.6402 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1783, allocations: 235.2 kB / 0.6405 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.1787, allocations: 259.1 kB / 0.6407 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.1787, allocations: 32 kB / 0.6407 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.179, allocations: 167.7 kB / 0.6409 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1792, allocations: 147.7 kB / 0.641 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.1794, allocations: 195.1 kB / 0.6412 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.1801, allocations: 0.5217 MB / 0.6417 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1801, allocations: 0 / 0.6417 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1801, allocations: 0 / 0.6417 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1801, allocations: 0 / 0.6417 GB, free: 11.03 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.001247/0.1814, allocations: 0.6903 MB / 0.6424 GB, free: 10.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1814, allocations: 8.031 kB / 0.6424 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007161/0.1821, allocations: 108.5 kB / 0.6425 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.1826, allocations: 299.6 kB / 0.6428 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.1827, allocations: 55.27 kB / 0.6429 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.1827, allocations: 28.38 kB / 0.6429 GB, free: 9.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.1836, allocations: 0.5087 MB / 0.6434 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1836, allocations: 0 / 0.6434 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.1837, allocations: 23.97 kB / 0.6434 GB, free: 9.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/0.1837, allocations: 28.98 kB / 0.6434 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.1844, allocations: 375.7 kB / 0.6438 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.1869, allocations: 2.212 MB / 0.646 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.1876, allocations: 262.6 kB / 0.6462 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.1879, allocations: 152.8 kB / 0.6464 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.188, allocations: 4 kB / 0.6464 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.188, allocations: 34.56 kB / 0.6464 GB, free: 5.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 1.943e-06/0.188, allocations: 0 / 0.6464 GB, free: 5.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.00153/0.1895, allocations: 0.5654 MB / 0.6469 GB, free: 5.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1896, allocations: 59.41 kB / 0.647 GB, free: 5.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1898, allocations: 229 kB / 0.6472 GB, free: 4.984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1898, allocations: 29.7 kB / 0.6472 GB, free: 4.949 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.19, allocations: 211.6 kB / 0.6474 GB, free: 4.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.19, allocations: 71.02 kB / 0.6475 GB, free: 4.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.1901, allocations: 53.61 kB / 0.6476 GB, free: 4.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1902, allocations: 334.8 kB / 0.6479 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.1905, allocations: 100.8 kB / 0.648 GB, free: 4.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.1908, allocations: 183.5 kB / 0.6482 GB, free: 3.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.1912, allocations: 269.3 kB / 0.6484 GB, free: 3.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1912, allocations: 0 / 0.6484 GB, free: 3.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009414/0.1922, allocations: 385.9 kB / 0.6488 GB, free: 3.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1922, allocations: 4 kB / 0.6488 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1922, allocations: 4 kB / 0.6488 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/0.1927, allocations: 109.9 kB / 0.6489 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.193, allocations: 51.91 kB / 0.6489 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.1962, allocations: 3.049 MB / 0.6519 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.1965, allocations: 35.67 kB / 0.652 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1965, allocations: 12 kB / 0.652 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003268/0.1968, allocations: 216 kB / 0.6522 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002489/0.1971, allocations: 179.2 kB / 0.6523 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004397/0.1975, allocations: 269.2 kB / 0.6526 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.1975, allocations: 4 kB / 0.6526 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007535/0.1983, allocations: 347.8 kB / 0.6529 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1983, allocations: 13.95 kB / 0.653 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1983, allocations: 4 kB / 0.653 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003192/0.1987, allocations: 84.91 kB / 0.653 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.1989, allocations: 51.91 kB / 0.6531 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.2008, allocations: 1.613 MB / 0.6547 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.2011, allocations: 35.73 kB / 0.6547 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.2011, allocations: 11.94 kB / 0.6547 GB, free: 12.69 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.0001241/0.2013, allocations: 194.6 kB / 0.6549 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.2013, allocations: 19.88 kB / 0.6549 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.2014, allocations: 38.17 kB / 0.6549 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2014, allocations: 4 kB / 0.655 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2014, allocations: 0 / 0.655 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2014, allocations: 3.938 kB / 0.655 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.2028, allocations: 0.8251 MB / 0.6558 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2028, allocations: 4 kB / 0.6558 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.2029, allocations: 27.97 kB / 0.6558 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003692/0.2033, allocations: 101.8 kB / 0.6559 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2033, allocations: 11.94 kB / 0.6559 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.2062, allocations: 3.024 MB / 0.6589 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2062, allocations: 0 / 0.6589 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/0.207, allocations: 415.2 kB / 0.6592 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.2071, allocations: 120.8 kB / 0.6594 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.2071, allocations: 4 kB / 0.6594 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.2073, allocations: 15.98 kB / 0.6594 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.2074, allocations: 19.92 kB / 0.6594 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.2074, allocations: 15.98 kB / 0.6594 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001365/0.2076, allocations: 156.5 kB / 0.6596 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2076, allocations: 3.938 kB / 0.6596 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000607/0.2082, allocations: 175.3 kB / 0.6597 GB, free: 7.117 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.0001202/0.2083, allocations: 107.2 kB / 0.6598 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.2102, allocations: 0.7559 MB / 0.6606 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2102, allocations: 0 / 0.6606 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008029/0.211, allocations: 375.9 kB / 0.6609 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.2115, allocations: 59.45 kB / 0.661 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.2125, allocations: 0.616 MB / 0.6616 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.2129, allocations: 0.8148 MB / 0.6624 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.2129, allocations: 19.44 kB / 0.6624 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2129, allocations: 0 / 0.6624 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of Templates: time 0.007764/0.2207, allocations: 6.186 MB / 0.6684 GB, free: 14.07 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)