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.001033/0.001033, allocations: 98.81 kB / 16.02 MB, free: 80 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.001394/0.001394, allocations: 185.1 kB / 16.92 MB, free: 6.75 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.38/1.38, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7369/0.7369, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 12 kB / 495.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2042, allocations: 77.54 MB / 0.56 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004821/0.209, allocations: 3.725 MB / 0.5636 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.2116, allocations: 1.57 MB / 0.5651 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.2117, allocations: 4 kB / 0.5651 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.212, allocations: 63.5 kB / 0.5652 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.2125, allocations: 223 kB / 0.5654 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.213, allocations: 187.7 kB / 0.5656 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007369/0.2137, allocations: 0.7792 MB / 0.5663 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.2143, allocations: 446.7 kB / 0.5668 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.2145, allocations: 175.3 kB / 0.5669 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004424/0.215, allocations: 243.1 kB / 0.5672 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.215, allocations: 20 kB / 0.5672 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.2154, allocations: 191.6 kB / 0.5674 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2155, allocations: 131.7 kB / 0.5675 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.2157, allocations: 212.7 kB / 0.5677 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.2163, allocations: 0.506 MB / 0.5682 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2163, allocations: 0 / 0.5682 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2163, allocations: 0 / 0.5682 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2163, allocations: 0 / 0.5682 GB, free: 0.4961 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.001197/0.2175, allocations: 0.6164 MB / 0.5688 GB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2176, allocations: 8.031 kB / 0.5688 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007481/0.2183, allocations: 112.4 kB / 0.5689 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.2188, allocations: 299.6 kB / 0.5692 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.879e-05/0.2188, allocations: 51.27 kB / 0.5693 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.2189, allocations: 32.38 kB / 0.5693 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008683/0.2198, allocations: 0.5165 MB / 0.5698 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2198, allocations: 0 / 0.5698 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.2199, allocations: 15.94 kB / 0.5698 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/0.22, allocations: 32.98 kB / 0.5698 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.2207, allocations: 391.6 kB / 0.5702 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.2234, allocations: 2.227 MB / 0.5724 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.2241, allocations: 264.2 kB / 0.5726 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.2245, allocations: 164.8 kB / 0.5728 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.2245, allocations: 4 kB / 0.5728 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.2246, allocations: 30.56 kB / 0.5728 GB, free: 11.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.2246, allocations: 0 / 0.5728 GB, free: 11.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001586/0.2262, allocations: 0.5927 MB / 0.5734 GB, free: 10.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.2262, allocations: 59.33 kB / 0.5735 GB, free: 10.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.2265, allocations: 225 kB / 0.5737 GB, free: 10.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.2265, allocations: 29.7 kB / 0.5737 GB, free: 10.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.2267, allocations: 211.7 kB / 0.5739 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.2268, allocations: 70.94 kB / 0.574 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.2268, allocations: 29.7 kB / 0.574 GB, free: 10.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.227, allocations: 330.8 kB / 0.5743 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.2272, allocations: 91.94 kB / 0.5744 GB, free: 9.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.2275, allocations: 187.1 kB / 0.5746 GB, free: 9.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.228, allocations: 285.2 kB / 0.5749 GB, free: 9.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.228, allocations: 0 / 0.5749 GB, free: 9.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008995/0.2289, allocations: 385.1 kB / 0.5752 GB, free: 8.758 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.2291, allocations: 169.5 kB / 0.5754 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2291, allocations: 0 / 0.5754 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.2296, allocations: 105.6 kB / 0.5755 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.2298, allocations: 51.91 kB / 0.5755 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/0.2331, allocations: 2.828 MB / 0.5783 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.2334, allocations: 39.67 kB / 0.5783 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.2334, allocations: 12.03 kB / 0.5783 GB, free: 5.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.2335, allocations: 10.03 kB / 0.5784 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007462/0.2342, allocations: 318 kB / 0.5787 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2342, allocations: 7.938 kB / 0.5787 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.2345, allocations: 80.91 kB / 0.5787 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2348, allocations: 55.91 kB / 0.5788 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.2367, allocations: 1.501 MB / 0.5803 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.2369, allocations: 23.84 kB / 0.5803 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.237, allocations: 15.98 kB / 0.5803 GB, free: 3.113 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.000278/0.2372, allocations: 249 kB / 0.5805 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.2373, allocations: 23.72 kB / 0.5806 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/0.2374, allocations: 34.17 kB / 0.5806 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2374, allocations: 7.938 kB / 0.5806 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2374, allocations: 0 / 0.5806 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2374, allocations: 0 / 0.5806 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.2389, allocations: 0.8365 MB / 0.5814 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2389, allocations: 0 / 0.5814 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2391, allocations: 36.05 kB / 0.5814 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/0.2395, allocations: 97.62 kB / 0.5815 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.2395, allocations: 12 kB / 0.5816 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3163/0.5558, allocations: 2.798 MB / 0.5843 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5558, allocations: 1.453 kB / 0.5843 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008525/0.5567, allocations: 427.8 kB / 0.5847 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5568, allocations: 114.3 kB / 0.5848 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.5568, allocations: 13.31 kB / 0.5848 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.557, allocations: 12.58 kB / 0.5848 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.5571, allocations: 18.94 kB / 0.5848 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5571, allocations: 6.156 kB / 0.5849 GB, free: 28.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.5573, allocations: 162.6 kB / 0.585 GB, free: 28.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5573, allocations: 3.938 kB / 0.585 GB, free: 28.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00065/0.5579, allocations: 170.6 kB / 0.5852 GB, free: 28.71 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.0001045/0.5581, allocations: 106.8 kB / 0.5853 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.5599, allocations: 0.7722 MB / 0.586 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5599, allocations: 0 / 0.586 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007164/0.5607, allocations: 378 kB / 0.5864 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.5611, allocations: 49.16 kB / 0.5864 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.5621, allocations: 0.74 MB / 0.5872 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.5624, allocations: 0.8139 MB / 0.588 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.5626, allocations: 58.38 kB / 0.588 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.5627, allocations: 19.31 kB / 0.588 GB, free: 26.95 MB / 446.1 MB Notification: Performance of SimCode: time 4.8e-07/0.5627, allocations: 0 / 0.588 GB, free: 26.95 MB / 446.1 MB Notification: Performance of Templates: time 0.01016/0.5728, allocations: 4.252 MB / 0.5922 GB, free: 26.79 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)