Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01113/0.01113, allocations: 101 kB / 15.73 MB, free: 6.035 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.002413/0.002413, allocations: 193.6 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.1 MB / 222.5 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.618/1.618, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2558, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.007176/0.263, allocations: 3.854 MB / 0.8318 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.2664, allocations: 1.773 MB / 0.8335 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/0.2669, allocations: 8 kB / 0.8335 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2684, allocations: 446.2 kB / 0.8339 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007589/0.2691, allocations: 242.8 kB / 0.8342 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.27, allocations: 258.8 kB / 0.8344 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006911/0.2707, allocations: 0.4984 MB / 0.8349 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006517/0.2713, allocations: 352.8 kB / 0.8352 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.2716, allocations: 203.3 kB / 0.8354 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.272, allocations: 231.2 kB / 0.8357 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.2721, allocations: 28 kB / 0.8357 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.2725, allocations: 183.6 kB / 0.8359 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.2727, allocations: 143.6 kB / 0.836 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.2729, allocations: 175.1 kB / 0.8362 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006819/0.2736, allocations: 494.4 kB / 0.8366 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2736, allocations: 8 kB / 0.8366 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.955e-06/0.2736, allocations: 0 / 0.8366 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.2736, allocations: 7.875 kB / 0.8366 GB, free: 7.32 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001257/0.2749, allocations: 0.651 MB / 0.8373 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2749, allocations: 8.031 kB / 0.8373 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.2755, allocations: 88.41 kB / 0.8374 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.2759, allocations: 303.1 kB / 0.8377 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2759, allocations: 21.03 kB / 0.8377 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.276, allocations: 28.38 kB / 0.8377 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/0.2768, allocations: 497.9 kB / 0.8382 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2768, allocations: 3.938 kB / 0.8382 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.2769, allocations: 12 kB / 0.8382 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/0.2769, allocations: 40.62 kB / 0.8382 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007209/0.2777, allocations: 362.3 kB / 0.8386 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.2801, allocations: 2.044 MB / 0.8406 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.2807, allocations: 206.7 kB / 0.8408 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.2811, allocations: 155.5 kB / 0.8409 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.2811, allocations: 7.984 kB / 0.8409 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.2812, allocations: 34.5 kB / 0.841 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.2812, allocations: 0 / 0.841 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.001148/0.2823, allocations: 419.1 kB / 0.8414 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.2824, allocations: 55.41 kB / 0.8414 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.2827, allocations: 262.6 kB / 0.8417 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.2827, allocations: 29.7 kB / 0.8417 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2829, allocations: 215.7 kB / 0.8419 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.2829, allocations: 63.09 kB / 0.842 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2831, allocations: 61.89 kB / 0.842 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.2833, allocations: 334.8 kB / 0.8423 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.2835, allocations: 101.8 kB / 0.8424 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.2839, allocations: 207.6 kB / 0.8426 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/0.2845, allocations: 316 kB / 0.8429 GB, free: 380 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.2845, allocations: 4 kB / 0.8429 GB, free: 376 kB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008195/0.2854, allocations: 346.1 kB / 0.8433 GB, free: 20 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.2854, allocations: 8 kB / 0.8433 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.2854, allocations: 4 kB / 0.8433 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/0.2858, allocations: 33.09 kB / 0.8433 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.2861, allocations: 75.89 kB / 0.8434 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.2882, allocations: 1.44 MB / 0.8448 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.2885, allocations: 39.67 kB / 0.8448 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.2885, allocations: 19.98 kB / 0.8449 GB, free: 14.26 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003867/0.2889, allocations: 212.7 kB / 0.8451 GB, free: 14.05 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003303/0.2892, allocations: 220.7 kB / 0.8453 GB, free: 13.78 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000546/0.2898, allocations: 319.1 kB / 0.8456 GB, free: 13.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.2898, allocations: 0 / 0.8456 GB, free: 13.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006294/0.2904, allocations: 333.3 kB / 0.8459 GB, free: 13.08 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2905, allocations: 8 kB / 0.8459 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2905, allocations: 8.031 kB / 0.8459 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.812e-06/0.2905, allocations: 8 kB / 0.8459 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.2908, allocations: 75.83 kB / 0.846 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2908, allocations: 4 kB / 0.846 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.291, allocations: 35.81 kB / 0.846 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.291, allocations: 12 kB / 0.846 GB, free: 12.93 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.2912, allocations: 204.1 kB / 0.8462 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.2912, allocations: 27.62 kB / 0.8463 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.2913, allocations: 34.17 kB / 0.8463 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.2913, allocations: 0 / 0.8463 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2913, allocations: 4 kB / 0.8463 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2913, allocations: 0 / 0.8463 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.2926, allocations: 0.753 MB / 0.847 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2926, allocations: 4 kB / 0.847 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2928, allocations: 39.91 kB / 0.8471 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.2929, allocations: 36.84 kB / 0.8471 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.2929, allocations: 4 kB / 0.8471 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.2942, allocations: 1.418 MB / 0.8485 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.2942, allocations: 7.969 kB / 0.8485 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.2949, allocations: 361.7 kB / 0.8488 GB, free: 9.801 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.295, allocations: 116.7 kB / 0.849 GB, free: 9.668 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.2951, allocations: 8 kB / 0.849 GB, free: 9.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2952, allocations: 15.98 kB / 0.849 GB, free: 9.645 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.2953, allocations: 19.91 kB / 0.849 GB, free: 9.625 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2954, allocations: 15.94 kB / 0.849 GB, free: 9.609 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002014/0.2956, allocations: 182 kB / 0.8492 GB, free: 9.434 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2956, allocations: 3.938 kB / 0.8492 GB, free: 9.43 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006203/0.2962, allocations: 147.5 kB / 0.8493 GB, free: 9.285 MB / 0.67 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.2964, allocations: 95.25 kB / 0.8494 GB, free: 9.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.2976, allocations: 497 kB / 0.8499 GB, free: 8.688 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2976, allocations: 4.062 kB / 0.8499 GB, free: 8.684 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.298, allocations: 222.5 kB / 0.8501 GB, free: 8.453 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.2985, allocations: 74.88 kB / 0.8502 GB, free: 8.383 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2995, allocations: 0.5453 MB / 0.8507 GB, free: 7.805 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.2999, allocations: 0.7996 MB / 0.8515 GB, free: 6.977 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.3001, allocations: 66.23 kB / 0.8516 GB, free: 6.914 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.3002, allocations: 23.44 kB / 0.8516 GB, free: 6.891 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.3002, allocations: 0 / 0.8516 GB, free: 6.891 MB / 0.67 GB Notification: Performance of Templates: time 0.008092/0.3083, allocations: 3.584 MB / 0.8551 GB, free: 3.34 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)