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.0008267/0.0008268, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009155/0.0009156, allocations: 178.5 kB / 16.91 MB, free: 6.645 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7421/0.7421, allocations: 123 MB / 415.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005104, allocations: 12.61 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4561, allocations: 79.29 MB / 0.5707 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005718/0.4619, allocations: 3.731 MB / 0.5744 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.4644, allocations: 1.565 MB / 0.5759 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.4646, allocations: 13.62 kB / 0.5759 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.4648, allocations: 62.88 kB / 0.576 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.4653, allocations: 215.5 kB / 0.5762 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.4658, allocations: 202 kB / 0.5764 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.4666, allocations: 0.7764 MB / 0.5771 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.4671, allocations: 446.9 kB / 0.5776 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.4674, allocations: 177.5 kB / 0.5777 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.4678, allocations: 245 kB / 0.578 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.4679, allocations: 18.62 kB / 0.578 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.4682, allocations: 195.4 kB / 0.5782 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.4684, allocations: 125.6 kB / 0.5783 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.4686, allocations: 200.1 kB / 0.5785 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007054/0.4693, allocations: 0.5052 MB / 0.579 GB, free: 6.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4693, allocations: 1.062 kB / 0.579 GB, free: 6.195 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4693, allocations: 0 / 0.579 GB, free: 6.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4693, allocations: 0 / 0.579 GB, free: 6.195 MB / 430.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.001137/0.4705, allocations: 0.6224 MB / 0.5796 GB, free: 5.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4705, allocations: 9.062 kB / 0.5796 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/0.4713, allocations: 113.7 kB / 0.5797 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.4717, allocations: 298.1 kB / 0.58 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.208e-05/0.4718, allocations: 51.97 kB / 0.58 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.4719, allocations: 34.72 kB / 0.5801 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008972/0.4728, allocations: 0.5117 MB / 0.5806 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.4728, allocations: 0.5156 kB / 0.5806 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.4729, allocations: 11.91 kB / 0.5806 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/0.473, allocations: 33.45 kB / 0.5806 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/0.4738, allocations: 392.3 kB / 0.581 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.4761, allocations: 2.221 MB / 0.5832 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.4768, allocations: 262.2 kB / 0.5834 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/0.4773, allocations: 165.6 kB / 0.5836 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.4773, allocations: 3.094 kB / 0.5836 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.4774, allocations: 41.22 kB / 0.5836 GB, free: 2.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.993e-06/0.4774, allocations: 0 / 0.5836 GB, free: 2.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001712/0.4791, allocations: 0.5828 MB / 0.5842 GB, free: 2.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.4791, allocations: 55.06 kB / 0.5842 GB, free: 2.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.4794, allocations: 235.3 kB / 0.5845 GB, free: 2.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.4794, allocations: 27.17 kB / 0.5845 GB, free: 2.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4795, allocations: 211.2 kB / 0.5847 GB, free: 2.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.4796, allocations: 61.67 kB / 0.5847 GB, free: 2.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.4797, allocations: 26.94 kB / 0.5848 GB, free: 2.094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.4797, allocations: 330.4 kB / 0.5851 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.48, allocations: 100.2 kB / 0.5852 GB, free: 1.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.4803, allocations: 185 kB / 0.5854 GB, free: 1.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.4809, allocations: 286.8 kB / 0.5856 GB, free: 1.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4809, allocations: 4.656 kB / 0.5856 GB, free: 1.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009766/0.4819, allocations: 394.4 kB / 0.586 GB, free: 1.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.482, allocations: 164.2 kB / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.482, allocations: 3.016 kB / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/0.4826, allocations: 109.4 kB / 0.5863 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.4828, allocations: 52.3 kB / 0.5863 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.4861, allocations: 2.836 MB / 0.5891 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.4864, allocations: 34.05 kB / 0.5891 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.4865, allocations: 16.55 kB / 0.5891 GB, free: 14.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.4865, allocations: 4 kB / 0.5891 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008628/0.4874, allocations: 315.7 kB / 0.5894 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4874, allocations: 1.781 kB / 0.5894 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.4877, allocations: 81.69 kB / 0.5895 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.488, allocations: 56.17 kB / 0.5896 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.49, allocations: 1.505 MB / 0.591 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.4903, allocations: 33.36 kB / 0.5911 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.4903, allocations: 11.41 kB / 0.5911 GB, free: 12.78 MB / 446.1 MB 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.0004271/0.4908, allocations: 249.1 kB / 0.5913 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/0.4909, allocations: 23.47 kB / 0.5913 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.214e-05/0.491, allocations: 29.64 kB / 0.5914 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.491, allocations: 6.156 kB / 0.5914 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.491, allocations: 1.375 kB / 0.5914 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.491, allocations: 1.266 kB / 0.5914 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.4935, allocations: 0.8425 MB / 0.5922 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4935, allocations: 0.9062 kB / 0.5922 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.4938, allocations: 35.69 kB / 0.5922 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006034/0.4944, allocations: 100.9 kB / 0.5923 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.4944, allocations: 5.5 kB / 0.5923 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004365/0.4988, allocations: 2.81 MB / 0.5951 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4988, allocations: 5.062 kB / 0.5951 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.5002, allocations: 427.2 kB / 0.5955 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.5005, allocations: 115.4 kB / 0.5956 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.5005, allocations: 2.609 kB / 0.5956 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.5008, allocations: 14.53 kB / 0.5956 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.501, allocations: 27.47 kB / 0.5957 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.501, allocations: 6.109 kB / 0.5957 GB, free: 8.852 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.5013, allocations: 161.4 kB / 0.5958 GB, free: 8.754 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5013, allocations: 1.312 kB / 0.5958 GB, free: 8.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001238/0.5025, allocations: 169.1 kB / 0.596 GB, free: 8.711 MB / 446.1 MB 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.0001568/0.5027, allocations: 103.5 kB / 0.5961 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.5058, allocations: 0.7732 MB / 0.5968 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5058, allocations: 0 / 0.5968 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.5071, allocations: 382.6 kB / 0.5972 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008019/0.5079, allocations: 51.08 kB / 0.5972 GB, free: 7.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.5098, allocations: 0.7361 MB / 0.598 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/0.5105, allocations: 0.814 MB / 0.5988 GB, free: 6.672 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004177/0.511, allocations: 58.08 kB / 0.5988 GB, free: 6.652 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.5111, allocations: 20.8 kB / 0.5988 GB, free: 6.645 MB / 446.1 MB Notification: Performance of SimCode: time 2.304e-06/0.5111, allocations: 0 / 0.5988 GB, free: 6.645 MB / 446.1 MB Notification: Performance of Templates: time 0.01408/0.5252, allocations: 4.243 MB / 0.603 GB, free: 5.23 MB / 446.1 MB 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)