Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.000755/0.000755, 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.0009461/0.0009461, allocations: 173 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.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.001565/0.001565, allocations: 239.6 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.7128/0.7128, allocations: 138.4 MB / 402.2 MB, free: 0.582 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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0.6562 kB / 462.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.371e-05, allocations: 3.844 kB / 462.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.002903/0.002916, allocations: 2.962 MB / 465.2 MB, free: 15.08 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.004406, allocations: 1.121 MB / 466.4 MB, free: 14.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.004518, allocations: 10 kB / 466.4 MB, free: 14.33 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.004918, allocations: 116.3 kB / 466.5 MB, free: 14.27 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.005206, allocations: 199.3 kB / 466.7 MB, free: 14.15 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.005467, allocations: 158.9 kB / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.005873, allocations: 497.7 kB / 467.3 MB, free: 13.72 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.006155, allocations: 288.7 kB / 467.6 MB, free: 13.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.006377, allocations: 273 kB / 467.9 MB, free: 13.18 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.006627, allocations: 189.5 kB / 468.1 MB, free: 13 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.00666, allocations: 32 kB / 468.1 MB, free: 12.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.0068, allocations: 100.2 kB / 468.2 MB, free: 12.87 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.006892, allocations: 131.6 kB / 468.3 MB, free: 12.74 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.006979, allocations: 125.6 kB / 468.4 MB, free: 12.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.007264, allocations: 331.5 kB / 468.8 MB, free: 12.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.007265, allocations: 0 / 468.8 MB, free: 12.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007266, allocations: 0 / 468.8 MB, free: 12.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.00727, allocations: 0 / 468.8 MB, free: 12.29 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0005248/0.007795, allocations: 0.5235 MB / 469.3 MB, free: 11.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.007823, allocations: 9.312 kB / 469.3 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004973/0.00832, allocations: 178.7 kB / 469.5 MB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.008542, allocations: 219.2 kB / 469.7 MB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.008556, allocations: 26.22 kB / 469.7 MB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.008588, allocations: 28.38 kB / 469.7 MB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.009115, allocations: 427.4 kB / 470.1 MB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.009125, allocations: 5.344 kB / 470.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.009148, allocations: 16.36 kB / 470.2 MB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.00918, allocations: 28.58 kB / 470.2 MB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.009299, allocations: 101.7 kB / 470.3 MB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009897/0.01029, allocations: 1.322 MB / 471.6 MB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.01044, allocations: 90.77 kB / 471.7 MB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.01052, allocations: 60.53 kB / 471.8 MB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.01053, allocations: 4 kB / 471.8 MB, free: 9.133 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.01055, allocations: 35.59 kB / 471.8 MB, free: 9.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.143e-06/0.01055, allocations: 0 / 471.8 MB, free: 9.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002402/0.01079, allocations: 125.4 kB / 471.9 MB, free: 8.961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.01081, allocations: 51.41 kB / 472 MB, free: 8.898 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.01093, allocations: 216.3 kB / 472.2 MB, free: 8.676 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.01094, allocations: 37.64 kB / 472.2 MB, free: 8.633 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.01101, allocations: 204.8 kB / 472.4 MB, free: 8.426 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.01103, allocations: 53.25 kB / 472.5 MB, free: 8.375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.01108, allocations: 49.88 kB / 472.5 MB, free: 8.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.01116, allocations: 330.8 kB / 472.8 MB, free: 7.984 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.01118, allocations: 24.39 kB / 472.9 MB, free: 7.961 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.01125, allocations: 113 kB / 473 MB, free: 7.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.01136, allocations: 152.5 kB / 473.1 MB, free: 7.629 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01136, allocations: 0 / 473.1 MB, free: 7.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002091/0.01157, allocations: 161 kB / 473.3 MB, free: 7.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01158, allocations: 8 kB / 473.3 MB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01158, allocations: 5.438 kB / 473.3 MB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.01172, allocations: 38 kB / 473.3 MB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.01182, allocations: 48.55 kB / 473.4 MB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005371/0.01236, allocations: 1.189 MB / 474.6 MB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.01243, allocations: 27.83 kB / 474.6 MB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.01244, allocations: 16.69 kB / 474.6 MB, free: 6.043 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/0.01252, allocations: 123.1 kB / 474.7 MB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.01254, allocations: 19.98 kB / 474.8 MB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.01256, allocations: 25.45 kB / 474.8 MB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01257, allocations: 4 kB / 474.8 MB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01257, allocations: 0 / 474.8 MB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01257, allocations: 2.719 kB / 474.8 MB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.013, allocations: 0.5769 MB / 475.4 MB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.013, allocations: 0.8125 kB / 475.4 MB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.01304, allocations: 28.77 kB / 475.4 MB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-05/0.01313, allocations: 30.08 kB / 475.4 MB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.01314, allocations: 6.938 kB / 475.4 MB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004917/0.01363, allocations: 1.196 MB / 476.6 MB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01363, allocations: 0 / 476.6 MB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.01394, allocations: 297 kB / 476.9 MB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.01398, allocations: 27.84 kB / 476.9 MB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.01399, allocations: 12.62 kB / 477 MB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.01407, allocations: 5.5 kB / 477 MB, free: 3.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.01409, allocations: 27.84 kB / 477 MB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.01409, allocations: 4 kB / 477 MB, free: 3.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.01414, allocations: 68.03 kB / 477.1 MB, free: 3.414 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01414, allocations: 0 / 477.1 MB, free: 3.414 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00021/0.01435, allocations: 80.44 kB / 477.1 MB, free: 3.336 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.816e-05/0.01442, allocations: 85.2 kB / 477.2 MB, free: 3.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01463, allocations: 211.2 kB / 477.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.01464, allocations: 4 kB / 477.4 MB, free: 3.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.01472, allocations: 160.6 kB / 477.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01493, allocations: 51.92 kB / 477.6 MB, free: 2.809 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.0156, allocations: 0.548 MB / 478.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.01565, allocations: 110.2 kB / 478.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.01572, allocations: 21.66 kB / 478.3 MB, free: 2.062 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/0.01581, allocations: 91.88 kB / 478.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01581, allocations: 1.938 kB / 478.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of Templates: time 0.00404/0.01985, allocations: 2.655 MB / 481.1 MB, free: 15.54 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.516946211922914]