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.0009199/0.0009199, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0008926/0.0008926, allocations: 173 kB / 23.03 MB, free: 1.547 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.9915/0.9915, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.001611/0.001611, allocations: 242.3 kB / 260.2 MB, free: 12.84 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.6741/0.6741, allocations: 138.4 MB / 455.2 MB, free: 1.559 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.252e-06/1.252e-06, allocations: 0 / 0.5551 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.78e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.003055/0.003073, allocations: 2.962 MB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.00462, allocations: 1.122 MB / 0.5591 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.004749, allocations: 11.94 kB / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.005182, allocations: 111.3 kB / 0.5592 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.005483, allocations: 194.8 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.005748, allocations: 159.6 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.006129, allocations: 498.2 kB / 0.56 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.006491, allocations: 285.4 kB / 0.5603 GB, free: 11.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.006726, allocations: 275.4 kB / 0.5606 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.007029, allocations: 195.5 kB / 0.5607 GB, free: 10.76 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.007066, allocations: 32 kB / 0.5608 GB, free: 10.73 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.007228, allocations: 99.72 kB / 0.5609 GB, free: 10.63 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.00733, allocations: 143.6 kB / 0.561 GB, free: 10.49 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.007423, allocations: 119.8 kB / 0.5611 GB, free: 10.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.007749, allocations: 326.9 kB / 0.5614 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007752, allocations: 0 / 0.5614 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007753, allocations: 3.938 kB / 0.5614 GB, free: 10.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.007757, allocations: 0 / 0.5614 GB, free: 10.05 MB / 490.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.0008962/0.008654, allocations: 0.6518 MB / 0.5621 GB, free: 9.363 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.008687, allocations: 8.75 kB / 0.5621 GB, free: 9.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.009235, allocations: 204.3 kB / 0.5623 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.00951, allocations: 244 kB / 0.5625 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.009529, allocations: 25.02 kB / 0.5625 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.009561, allocations: 32.38 kB / 0.5626 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.009953, allocations: 464.9 kB / 0.563 GB, free: 8.301 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.009964, allocations: 192 / 0.563 GB, free: 8.301 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.009988, allocations: 12.38 kB / 0.563 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/0.01003, allocations: 32.58 kB / 0.563 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.01022, allocations: 139.7 kB / 0.5632 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.01141, allocations: 1.908 MB / 0.565 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.01162, allocations: 119.2 kB / 0.5652 GB, free: 5.996 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.01174, allocations: 71.64 kB / 0.5652 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.01175, allocations: 8 kB / 0.5652 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.01177, allocations: 41.33 kB / 0.5653 GB, free: 5.863 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.01177, allocations: 0 / 0.5653 GB, free: 5.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003158/0.01209, allocations: 161.4 kB / 0.5654 GB, free: 5.695 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.01211, allocations: 51.41 kB / 0.5655 GB, free: 5.633 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.01227, allocations: 276.9 kB / 0.5657 GB, free: 5.348 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.01228, allocations: 33.7 kB / 0.5658 GB, free: 5.309 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.01237, allocations: 258.8 kB / 0.566 GB, free: 5.051 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.0124, allocations: 59.52 kB / 0.5661 GB, free: 4.992 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.01246, allocations: 55.55 kB / 0.5661 GB, free: 4.926 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.01256, allocations: 0.4962 MB / 0.5666 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.01261, allocations: 32.44 kB / 0.5666 GB, free: 4.387 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.174e-05/0.0127, allocations: 148.8 kB / 0.5668 GB, free: 4.188 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.01284, allocations: 199.5 kB / 0.567 GB, free: 3.941 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01284, allocations: 0 / 0.567 GB, free: 3.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002265/0.01307, allocations: 217 kB / 0.5672 GB, free: 3.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.01308, allocations: 4 kB / 0.5672 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.01309, allocations: 4 kB / 0.5672 GB, free: 3.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.01325, allocations: 31.67 kB / 0.5672 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01336, allocations: 55.91 kB / 0.5673 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.01437, allocations: 1.74 MB / 0.569 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.229e-05/0.01446, allocations: 23.91 kB / 0.569 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01447, allocations: 16 kB / 0.569 GB, free: 1.719 MB / 490.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 8.713e-05/0.01456, allocations: 172.4 kB / 0.5692 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.01459, allocations: 27.86 kB / 0.5692 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.01461, allocations: 25.59 kB / 0.5692 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01461, allocations: 7.938 kB / 0.5692 GB, free: 1.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01461, allocations: 3.938 kB / 0.5692 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01462, allocations: 3.984 kB / 0.5692 GB, free: 1.473 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.01508, allocations: 0.5653 MB / 0.5698 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.01508, allocations: 4 kB / 0.5698 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.01512, allocations: 19.94 kB / 0.5698 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.055e-05/0.01522, allocations: 35.84 kB / 0.5698 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.01522, allocations: 8 kB / 0.5699 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006097/0.01583, allocations: 1.744 MB / 0.5716 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01584, allocations: 4 kB / 0.5716 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.01603, allocations: 329.5 kB / 0.5719 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.01607, allocations: 39.72 kB / 0.5719 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.01608, allocations: 4 kB / 0.5719 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.01616, allocations: 15.98 kB / 0.5719 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.01618, allocations: 11.92 kB / 0.5719 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.01619, allocations: 12 kB / 0.572 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.877e-05/0.01628, allocations: 189.7 kB / 0.5721 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01628, allocations: 4 kB / 0.5721 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002461/0.01653, allocations: 75.84 kB / 0.5722 GB, free: 14.18 MB / 0.4948 GB 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 7.42e-05/0.0166, allocations: 103.2 kB / 0.5723 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002867/0.01689, allocations: 277.8 kB / 0.5726 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01689, allocations: 4.25 kB / 0.5726 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.017, allocations: 225.4 kB / 0.5728 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01727, allocations: 57.41 kB / 0.5729 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.01803, allocations: 0.5479 MB / 0.5734 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.301e-05/0.0181, allocations: 108.3 kB / 0.5735 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.697e-05/0.01817, allocations: 29.94 kB / 0.5735 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.01821, allocations: 20.5 kB / 0.5735 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.01821, allocations: 0 / 0.5735 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.004459/0.02267, allocations: 2.582 MB / 0.5761 GB, free: 10.18 MB / 0.4948 GB " [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.5555461761541665]