Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001153/0.001153, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009635/0.009636, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.499/1.499, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003779, allocations: 12.16 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004665/0.2977, allocations: 3.747 MB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.3002, allocations: 1.574 MB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.3005, allocations: 7.938 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.3007, allocations: 67.48 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005344/0.3013, allocations: 219.1 kB / 1.08 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.3018, allocations: 191.7 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.3025, allocations: 0.7715 MB / 1.081 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.303, allocations: 450.4 kB / 1.081 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.3032, allocations: 175.3 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.3036, allocations: 243.1 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.3036, allocations: 20 kB / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.304, allocations: 195.6 kB / 1.082 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3041, allocations: 135.6 kB / 1.082 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.3043, allocations: 192.8 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.3048, allocations: 0.5179 MB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3048, allocations: 0 / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3048, allocations: 0 / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3048, allocations: 0 / 1.082 GB, free: 15.01 MB / 0.8419 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.001041/0.3059, allocations: 0.6087 MB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3059, allocations: 12.03 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007293/0.3066, allocations: 116.3 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.307, allocations: 295.6 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.3071, allocations: 55.27 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.3071, allocations: 32.36 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.308, allocations: 0.5125 MB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.308, allocations: 3.984 kB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.3081, allocations: 15.98 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.816e-05/0.3081, allocations: 36.97 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.3088, allocations: 387.7 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.3111, allocations: 2.22 MB / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.3118, allocations: 276.1 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.3122, allocations: 160.7 kB / 1.087 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3123, allocations: 7.984 kB / 1.087 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.3123, allocations: 34.56 kB / 1.087 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.3123, allocations: 0 / 1.087 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.001626/0.3139, allocations: 0.5929 MB / 1.088 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.314, allocations: 55.41 kB / 1.088 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.3142, allocations: 225 kB / 1.088 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.3142, allocations: 29.7 kB / 1.088 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3144, allocations: 203.7 kB / 1.088 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.3144, allocations: 78.92 kB / 1.088 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.3145, allocations: 21.72 kB / 1.088 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3146, allocations: 338.8 kB / 1.089 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.3148, allocations: 95.94 kB / 1.089 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.3151, allocations: 192.3 kB / 1.089 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.3157, allocations: 277.2 kB / 1.089 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3157, allocations: 0 / 1.089 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009185/0.3166, allocations: 388.1 kB / 1.089 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-05/0.3167, allocations: 165.6 kB / 1.09 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3167, allocations: 0 / 1.09 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/0.3172, allocations: 113.6 kB / 1.09 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3175, allocations: 55.91 kB / 1.09 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.3208, allocations: 2.828 MB / 1.093 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.3211, allocations: 39.67 kB / 1.093 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.3211, allocations: 15.94 kB / 1.093 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.3212, allocations: 4 kB / 1.093 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008842/0.3221, allocations: 309.8 kB / 1.093 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3221, allocations: 4 kB / 1.093 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.3224, allocations: 77.09 kB / 1.093 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.3226, allocations: 59.91 kB / 1.093 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.3246, allocations: 1.507 MB / 1.094 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.3248, allocations: 27.83 kB / 1.094 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.3248, allocations: 12.06 kB / 1.094 GB, free: 1.609 MB / 0.8419 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.0002146/0.3251, allocations: 249.6 kB / 1.095 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.3251, allocations: 23.72 kB / 1.095 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.103e-05/0.3252, allocations: 30.17 kB / 1.095 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3252, allocations: 11.88 kB / 1.095 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3252, allocations: 0 / 1.095 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3252, allocations: 0 / 1.095 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.3266, allocations: 0.8378 MB / 1.096 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.3266, allocations: 0 / 1.096 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.3268, allocations: 39.91 kB / 1.096 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/0.3272, allocations: 101.6 kB / 1.096 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3272, allocations: 8 kB / 1.096 GB, free: 232 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.33, allocations: 2.814 MB / 1.099 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.33, allocations: 3.938 kB / 1.099 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/0.3308, allocations: 424 kB / 1.099 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.3309, allocations: 116.8 kB / 1.099 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.331, allocations: 4 kB / 1.099 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.3312, allocations: 19.98 kB / 1.099 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.3312, allocations: 23.91 kB / 1.099 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3313, allocations: 4 kB / 1.099 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001509/0.3314, allocations: 164.5 kB / 1.099 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3314, allocations: 0 / 1.099 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006264/0.3321, allocations: 163.4 kB / 1.099 GB, free: 12.19 MB / 0.8575 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.0001172/0.3322, allocations: 107.7 kB / 1.099 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.3342, allocations: 0.768 MB / 1.1 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3342, allocations: 4 kB / 1.1 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008168/0.335, allocations: 375.3 kB / 1.101 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.3355, allocations: 49.19 kB / 1.101 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3366, allocations: 0.7488 MB / 1.101 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.337, allocations: 0.8107 MB / 1.102 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.3372, allocations: 50.25 kB / 1.102 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.3373, allocations: 19.44 kB / 1.102 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.3373, allocations: 0 / 1.102 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of Templates: time 0.008845/0.3461, allocations: 4.25 MB / 1.106 GB, free: 4.926 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)