Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007659/0.0007659, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001589/0.001589, allocations: 243.2 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6686/0.6686, allocations: 138.4 MB / 402.2 MB, free: 0.5391 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.183e-05, allocations: 5.797 kB / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.004336/0.004348, allocations: 2.974 MB / 465.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.006715, allocations: 1.225 MB / 466.5 MB, free: 14.24 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.006891, allocations: 9.906 kB / 466.5 MB, free: 14.24 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.007368, allocations: 123.2 kB / 466.6 MB, free: 14.17 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.007774, allocations: 192.9 kB / 466.8 MB, free: 14.06 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.008379, allocations: 249 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005244/0.008903, allocations: 0.5137 MB / 467.6 MB, free: 13.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.009167, allocations: 288.6 kB / 467.8 MB, free: 13.12 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.009358, allocations: 267.9 kB / 468.1 MB, free: 12.86 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.009594, allocations: 213 kB / 468.3 MB, free: 12.65 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.009626, allocations: 32 kB / 468.3 MB, free: 12.62 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.009753, allocations: 99.78 kB / 468.4 MB, free: 12.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.009843, allocations: 144.1 kB / 468.6 MB, free: 12.38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.009932, allocations: 123.7 kB / 468.7 MB, free: 12.26 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.01021, allocations: 351.5 kB / 469 MB, free: 11.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.01021, allocations: 0 / 469 MB, free: 11.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01021, allocations: 1.219 kB / 469 MB, free: 11.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.01022, allocations: 0 / 469 MB, free: 11.91 MB / 426.7 MB 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.00056/0.01078, allocations: 0.5432 MB / 469.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.132e-05/0.0108, allocations: 8.75 kB / 469.6 MB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.01111, allocations: 123.3 kB / 469.7 MB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.01131, allocations: 222.3 kB / 469.9 MB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.01133, allocations: 27.42 kB / 470 MB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.01136, allocations: 28.38 kB / 470 MB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.01167, allocations: 416.9 kB / 470.4 MB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.01168, allocations: 192 / 470.4 MB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.0117, allocations: 16.12 kB / 470.4 MB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.01173, allocations: 40.62 kB / 470.5 MB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.01185, allocations: 93.64 kB / 470.5 MB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/0.01267, allocations: 1.169 MB / 471.7 MB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.01283, allocations: 94.09 kB / 471.8 MB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.01293, allocations: 66.44 kB / 471.9 MB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.01294, allocations: 4 kB / 471.9 MB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.01296, allocations: 46.5 kB / 471.9 MB, free: 8.902 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 9.41e-07/0.01296, allocations: 0.625 kB / 471.9 MB, free: 8.902 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002445/0.0132, allocations: 148.5 kB / 472.1 MB, free: 8.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.01322, allocations: 55.41 kB / 472.1 MB, free: 8.684 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.01333, allocations: 224.9 kB / 472.3 MB, free: 8.457 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.01335, allocations: 26.83 kB / 472.4 MB, free: 8.426 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.01342, allocations: 212.1 kB / 472.6 MB, free: 8.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.01345, allocations: 63.41 kB / 472.6 MB, free: 8.152 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.01365, allocations: 67.14 kB / 472.7 MB, free: 8.078 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.01372, allocations: 330.7 kB / 473 MB, free: 7.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.679e-05/0.01376, allocations: 29.97 kB / 473.1 MB, free: 7.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-05/0.01385, allocations: 165.3 kB / 473.2 MB, free: 7.496 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.01398, allocations: 187 kB / 473.4 MB, free: 7.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01398, allocations: 4.812 kB / 473.4 MB, free: 7.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001922/0.01417, allocations: 200.9 kB / 473.6 MB, free: 7.066 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.01418, allocations: 4 kB / 473.6 MB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01419, allocations: 4 kB / 473.6 MB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.01433, allocations: 39.45 kB / 473.6 MB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.01445, allocations: 67.89 kB / 473.7 MB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005797/0.01503, allocations: 1.199 MB / 474.9 MB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/0.01512, allocations: 35.77 kB / 474.9 MB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.01514, allocations: 12.59 kB / 475 MB, free: 5.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.028e-05/0.01522, allocations: 111.5 kB / 475.1 MB, free: 5.504 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.348e-05/0.01531, allocations: 180.2 kB / 475.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001417/0.01545, allocations: 206.4 kB / 475.4 MB, free: 5.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.01545, allocations: 0 / 475.4 MB, free: 5.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001587/0.01561, allocations: 177.6 kB / 475.6 MB, free: 4.844 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.01562, allocations: 8 kB / 475.6 MB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.01562, allocations: 6.812 kB / 475.6 MB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-06/0.01562, allocations: 4 kB / 475.6 MB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.01574, allocations: 65.78 kB / 475.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01575, allocations: 11.92 kB / 475.7 MB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.49e-05/0.01583, allocations: 27.83 kB / 475.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.01584, allocations: 12 kB / 475.8 MB, free: 4.715 MB / 426.7 MB 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 7.804e-05/0.01592, allocations: 209.2 kB / 476 MB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.01594, allocations: 17.3 kB / 476 MB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.01597, allocations: 30.11 kB / 476 MB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01597, allocations: 4 kB / 476 MB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01597, allocations: 0 / 476 MB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01598, allocations: 0.5312 kB / 476 MB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.01637, allocations: 472.2 kB / 476.5 MB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01637, allocations: 0 / 476.5 MB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.01645, allocations: 31.98 kB / 476.5 MB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.771e-05/0.01653, allocations: 38.02 kB / 476.5 MB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.01654, allocations: 10.41 kB / 476.5 MB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004766/0.01702, allocations: 1.2 MB / 477.7 MB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01702, allocations: 3.938 kB / 477.7 MB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.01717, allocations: 230.8 kB / 478 MB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.01721, allocations: 28.73 kB / 478 MB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.01723, allocations: 8 kB / 478 MB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.0173, allocations: 12.48 kB / 478 MB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.01733, allocations: 17.44 kB / 478 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01734, allocations: 8 kB / 478 MB, free: 2.266 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.342e-05/0.01739, allocations: 74.72 kB / 478.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01739, allocations: 0 / 478.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.01768, allocations: 148.6 kB / 478.3 MB, free: 2.051 MB / 426.7 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 (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 6.92e-05/0.01775, allocations: 81.42 kB / 478.3 MB, free: 1.961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.01805, allocations: 317.2 kB / 478.7 MB, free: 1.637 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.01806, allocations: 4.719 kB / 478.7 MB, free: 1.633 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.01815, allocations: 166.2 kB / 478.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.01837, allocations: 72.61 kB / 478.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.01906, allocations: 0.5468 MB / 479.4 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.029e-05/0.01912, allocations: 113.3 kB / 479.5 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.26e-05/0.01921, allocations: 36.89 kB / 479.6 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.01948, allocations: 103.3 kB / 479.7 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01948, allocations: 1.344 kB / 479.7 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of Templates: time 0.005196/0.02467, allocations: 3.626 MB / 483.3 MB, free: 13.21 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.510424847714603]