Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.213/2.213, allocations: 391.2 MB / 407 MB, free: 10.78 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 181.6 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 98 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 52.45 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.246, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004584/0.2507, allocations: 4.106 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.2526, allocations: 1.586 MB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.2528, allocations: 11.94 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.2541, allocations: 0.5564 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.2545, allocations: 215.1 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.2549, allocations: 195.6 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.2554, allocations: 0.7793 MB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.2558, allocations: 325.9 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.2559, allocations: 195.3 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.2562, allocations: 267 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.2563, allocations: 24 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.2566, allocations: 195.6 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2567, allocations: 135.7 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2568, allocations: 195 kB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.2572, allocations: 0.5199 MB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2572, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2572, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2573, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB 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.001085/0.2583, allocations: 0.6864 MB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2584, allocations: 11.98 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006537/0.2591, allocations: 104.4 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.2594, allocations: 292.5 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/0.2595, allocations: 59.25 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.2596, allocations: 32.38 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.2602, allocations: 0.5087 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2602, allocations: 0 / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.2603, allocations: 12 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.01e-05/0.2603, allocations: 32.98 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.2609, allocations: 379.7 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.2627, allocations: 2.212 MB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.2634, allocations: 262.6 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.2637, allocations: 154 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.2637, allocations: 4 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.2637, allocations: 34.56 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.2638, allocations: 0 / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.001337/0.2651, allocations: 0.572 MB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.2651, allocations: 51.41 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.2653, allocations: 229 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.2653, allocations: 25.7 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.2654, allocations: 215.6 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.2655, allocations: 71.09 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.2655, allocations: 53.61 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.2656, allocations: 338.8 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.2658, allocations: 96.73 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.266, allocations: 192 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.2664, allocations: 270.6 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2664, allocations: 4 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000728/0.2672, allocations: 377.2 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2672, allocations: 8 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2672, allocations: 0 / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.2677, allocations: 109.7 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.2679, allocations: 51.97 kB / 1.234 GB, free: 100 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.2703, allocations: 2.827 MB / 1.237 GB, free: 96.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.2705, allocations: 31.73 kB / 1.237 GB, free: 96.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.2705, allocations: 8 kB / 1.237 GB, free: 96.89 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002955/0.2708, allocations: 224 kB / 1.237 GB, free: 96.67 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002063/0.2711, allocations: 179.1 kB / 1.238 GB, free: 96.46 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003728/0.2714, allocations: 270.6 kB / 1.238 GB, free: 96.16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.2714, allocations: 0 / 1.238 GB, free: 96.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000661/0.2721, allocations: 354 kB / 1.238 GB, free: 95.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2721, allocations: 8 kB / 1.238 GB, free: 95.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2721, allocations: 0 / 1.238 GB, free: 95.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/0.2724, allocations: 84.84 kB / 1.238 GB, free: 95.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.2726, allocations: 51.91 kB / 1.238 GB, free: 95.66 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.2741, allocations: 1.515 MB / 1.24 GB, free: 94.01 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.2744, allocations: 31.73 kB / 1.24 GB, free: 93.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2744, allocations: 8 kB / 1.24 GB, free: 93.97 MB / 0.823 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.0001138/0.2745, allocations: 193.5 kB / 1.24 GB, free: 93.77 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.2746, allocations: 19.81 kB / 1.24 GB, free: 93.75 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.17e-05/0.2746, allocations: 34.11 kB / 1.24 GB, free: 93.72 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2747, allocations: 8 kB / 1.24 GB, free: 93.71 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2747, allocations: 0 / 1.24 GB, free: 93.71 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2747, allocations: 0 / 1.24 GB, free: 93.71 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.2758, allocations: 0.8336 MB / 1.241 GB, free: 92.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2758, allocations: 0 / 1.241 GB, free: 92.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.276, allocations: 35.91 kB / 1.241 GB, free: 92.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/0.2763, allocations: 101.7 kB / 1.241 GB, free: 92.66 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.2763, allocations: 15.94 kB / 1.241 GB, free: 92.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.2784, allocations: 2.806 MB / 1.244 GB, free: 89.57 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2784, allocations: 0 / 1.244 GB, free: 89.57 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.2794, allocations: 1.085 MB / 1.245 GB, free: 88.42 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.2795, allocations: 120.7 kB / 1.245 GB, free: 88.28 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.2795, allocations: 4 kB / 1.245 GB, free: 88.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2797, allocations: 11.98 kB / 1.245 GB, free: 88.27 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.2797, allocations: 23.97 kB / 1.245 GB, free: 88.24 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2798, allocations: 8 kB / 1.245 GB, free: 88.23 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000105/0.2799, allocations: 160.5 kB / 1.245 GB, free: 88.08 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.2799, allocations: 0 / 1.245 GB, free: 88.08 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007615/0.2806, allocations: 171.4 kB / 1.245 GB, free: 87.91 MB / 0.823 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 9.879e-05/0.2807, allocations: 103.2 kB / 1.245 GB, free: 87.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.2824, allocations: 0.7554 MB / 1.246 GB, free: 87.01 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2825, allocations: 0 / 1.246 GB, free: 87.01 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.2831, allocations: 378.5 kB / 1.246 GB, free: 86.61 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.2836, allocations: 46.33 kB / 1.247 GB, free: 86.57 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.2845, allocations: 0.8955 MB / 1.247 GB, free: 85.63 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2848, allocations: 0.8146 MB / 1.248 GB, free: 84.79 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.285, allocations: 58.23 kB / 1.248 GB, free: 84.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.285, allocations: 23.44 kB / 1.248 GB, free: 84.71 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.285, allocations: 0 / 1.248 GB, free: 84.71 MB / 0.823 GB Notification: Performance of Templates: time 0.006953/0.292, allocations: 4.457 MB / 1.253 GB, free: 80.29 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)