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.001009/0.001009, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001138/0.001138, allocations: 177.3 kB / 23.36 MB, free: 1.133 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 0.9942/0.9942, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.002662/0.002662, allocations: 253 kB / 260.5 MB, free: 12.68 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.7235/0.7235, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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.313e-06/1.313e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.167e-06/1.048e-05, allocations: 2.859 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.003192/0.003203, allocations: 3.012 MB / 465.3 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.004886, allocations: 1.234 MB / 466.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.005027, allocations: 10 kB / 466.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.005418, allocations: 121.2 kB / 466.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.005738, allocations: 196.8 kB / 466.9 MB, free: 14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.006174, allocations: 241.7 kB / 467.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.006609, allocations: 0.5136 MB / 467.6 MB, free: 13.35 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.0069, allocations: 288.4 kB / 467.9 MB, free: 13.07 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.007122, allocations: 272 kB / 468.2 MB, free: 12.81 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.007385, allocations: 212.8 kB / 468.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.007421, allocations: 32 kB / 468.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.00758, allocations: 99.78 kB / 468.5 MB, free: 12.47 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/0.007675, allocations: 136.4 kB / 468.7 MB, free: 12.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.007763, allocations: 127.7 kB / 468.8 MB, free: 12.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.008076, allocations: 355.5 kB / 469.1 MB, free: 11.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.008078, allocations: 0 / 469.1 MB, free: 11.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.008078, allocations: 1.406 kB / 469.1 MB, free: 11.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.008082, allocations: 0 / 469.1 MB, free: 11.87 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.0005502/0.008633, allocations: 0.5308 MB / 469.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.008661, allocations: 13.78 kB / 469.7 MB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.009045, allocations: 124.6 kB / 469.8 MB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.00927, allocations: 227.6 kB / 470 MB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.009287, allocations: 25.7 kB / 470 MB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.009318, allocations: 29.38 kB / 470.1 MB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.009675, allocations: 416.9 kB / 470.5 MB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.009685, allocations: 2.062 kB / 470.5 MB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.009707, allocations: 16.12 kB / 470.5 MB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.009747, allocations: 40.62 kB / 470.5 MB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.009879, allocations: 97.42 kB / 470.6 MB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/0.01082, allocations: 1.163 MB / 471.8 MB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.01102, allocations: 87.98 kB / 471.9 MB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.01112, allocations: 66.36 kB / 472 MB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.01114, allocations: 4 kB / 472 MB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.01115, allocations: 31.28 kB / 472 MB, free: 8.875 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.01116, allocations: 3.938 kB / 472 MB, free: 8.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002958/0.01145, allocations: 163.9 kB / 472.1 MB, free: 8.703 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.01147, allocations: 52.28 kB / 472.2 MB, free: 8.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.01159, allocations: 228.9 kB / 472.4 MB, free: 8.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.01161, allocations: 30.52 kB / 472.5 MB, free: 8.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.01169, allocations: 208.1 kB / 472.7 MB, free: 8.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.01172, allocations: 67.41 kB / 472.7 MB, free: 8.102 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.01178, allocations: 58.75 kB / 472.8 MB, free: 8.035 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.01186, allocations: 330.8 kB / 473.1 MB, free: 7.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.0119, allocations: 30.66 kB / 473.1 MB, free: 7.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.791e-05/0.012, allocations: 169.3 kB / 473.3 MB, free: 7.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.01215, allocations: 180.2 kB / 473.5 MB, free: 7.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01215, allocations: 0 / 473.5 MB, free: 7.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002223/0.01237, allocations: 201.2 kB / 473.7 MB, free: 7.031 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01239, allocations: 8 kB / 473.7 MB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.0124, allocations: 10.02 kB / 473.7 MB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.01256, allocations: 45.98 kB / 473.7 MB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.0127, allocations: 66.83 kB / 473.8 MB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006732/0.01337, allocations: 1.199 MB / 475 MB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.01349, allocations: 43.77 kB / 475 MB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.0135, allocations: 8 kB / 475 MB, free: 5.566 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.988e-05/0.01358, allocations: 107.5 kB / 475.2 MB, free: 5.457 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.776e-05/0.01368, allocations: 182.6 kB / 475.3 MB, free: 5.215 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001444/0.01382, allocations: 201.8 kB / 475.5 MB, free: 4.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.01382, allocations: 0.5 kB / 475.5 MB, free: 4.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001757/0.014, allocations: 173.9 kB / 475.7 MB, free: 4.801 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.01401, allocations: 8.688 kB / 475.7 MB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.01401, allocations: 4 kB / 475.7 MB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.221e-06/0.01402, allocations: 12.86 kB / 475.7 MB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.01416, allocations: 68.94 kB / 475.8 MB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01416, allocations: 7.938 kB / 475.8 MB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.01426, allocations: 33.88 kB / 475.8 MB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.01427, allocations: 12 kB / 475.8 MB, free: 4.66 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 9.124e-05/0.01436, allocations: 201.7 kB / 476 MB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.01439, allocations: 19.98 kB / 476.1 MB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.01442, allocations: 30.11 kB / 476.1 MB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01442, allocations: 3.938 kB / 476.1 MB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.01443, allocations: 0.875 kB / 476.1 MB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01443, allocations: 0 / 476.1 MB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.01485, allocations: 474.4 kB / 476.6 MB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01486, allocations: 4.688 kB / 476.6 MB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.01494, allocations: 32.55 kB / 476.6 MB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.426e-05/0.01503, allocations: 35.92 kB / 476.6 MB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.01504, allocations: 12.48 kB / 476.6 MB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005315/0.01558, allocations: 1.192 MB / 477.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01558, allocations: 0 / 477.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.01574, allocations: 234.9 kB / 478.1 MB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.01579, allocations: 41.17 kB / 478.1 MB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.0158, allocations: 0.6562 kB / 478.1 MB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.01587, allocations: 12 kB / 478.1 MB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.01591, allocations: 20.75 kB / 478.1 MB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01592, allocations: 4.625 kB / 478.1 MB, free: 2.211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.34e-05/0.01597, allocations: 80.89 kB / 478.2 MB, free: 2.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01597, allocations: 0 / 478.2 MB, free: 2.137 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.01629, allocations: 151.6 kB / 478.4 MB, free: 1.988 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.34e-05/0.01636, allocations: 76.42 kB / 478.4 MB, free: 1.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.01668, allocations: 314.8 kB / 478.8 MB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.01669, allocations: 4.719 kB / 478.8 MB, free: 1.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.01679, allocations: 169.5 kB / 478.9 MB, free: 1.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.01703, allocations: 63.62 kB / 479 MB, free: 1.348 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.01776, allocations: 0.5408 MB / 479.5 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.65e-05/0.01782, allocations: 114.6 kB / 479.6 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.01793, allocations: 39.09 kB / 479.7 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.01806, allocations: 111.3 kB / 479.8 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01806, allocations: 0 / 479.8 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of Templates: time 0.005263/0.02332, allocations: 3.631 MB / 483.4 MB, free: 13.14 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4863013923168182]