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.002277/0.002277, allocations: 85.48 kB / 19.44 MB, free: 344 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.002798/0.002798, allocations: 177.2 kB / 22.77 MB, free: 1.66 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.003372/0.003372, allocations: 234.5 kB / 259.8 MB, free: 12.85 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 1.165/1.165, allocations: 138.4 MB / 454.7 MB, free: 1.508 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.533e-06/1.533e-06, allocations: 0 / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.8e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.00675/0.006778, allocations: 3.87 MB / 0.5581 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.0101, allocations: 1.76 MB / 0.5598 GB, free: 11.22 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.01024, allocations: 11.94 kB / 0.5598 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.01183, allocations: 0.5019 MB / 0.5603 GB, free: 10.71 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.01236, allocations: 234.6 kB / 0.5605 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.01286, allocations: 203.3 kB / 0.5607 GB, free: 10.28 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.01348, allocations: 490.2 kB / 0.5612 GB, free: 9.797 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005554/0.01403, allocations: 285.4 kB / 0.5615 GB, free: 9.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.0144, allocations: 279.3 kB / 0.5617 GB, free: 9.246 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.01483, allocations: 199.5 kB / 0.5619 GB, free: 9.051 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.0149, allocations: 28 kB / 0.562 GB, free: 9.023 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.01531, allocations: 223.3 kB / 0.5622 GB, free: 8.805 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.01549, allocations: 143.6 kB / 0.5623 GB, free: 8.664 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.01566, allocations: 119.7 kB / 0.5624 GB, free: 8.547 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009502/0.01661, allocations: 0.5179 MB / 0.5629 GB, free: 8.027 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.01661, allocations: 0 / 0.5629 GB, free: 8.027 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01662, allocations: 0 / 0.5629 GB, free: 8.027 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.01662, allocations: 0 / 0.5629 GB, free: 8.027 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.001136/0.01776, allocations: 0.6942 MB / 0.5636 GB, free: 7.297 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.01779, allocations: 12.75 kB / 0.5636 GB, free: 7.285 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.0188, allocations: 192.4 kB / 0.5638 GB, free: 7.098 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.01927, allocations: 255.9 kB / 0.564 GB, free: 6.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.01929, allocations: 21.03 kB / 0.5641 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.01935, allocations: 28.38 kB / 0.5641 GB, free: 6.773 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.02006, allocations: 496.9 kB / 0.5646 GB, free: 6.207 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.02008, allocations: 4.125 kB / 0.5646 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.02012, allocations: 12.38 kB / 0.5646 GB, free: 6.191 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.02017, allocations: 28.58 kB / 0.5646 GB, free: 6.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.02054, allocations: 166.4 kB / 0.5648 GB, free: 5.996 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.02299, allocations: 1.978 MB / 0.5667 GB, free: 3.934 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.02331, allocations: 119.2 kB / 0.5668 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.02353, allocations: 75.64 kB / 0.5669 GB, free: 3.727 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.02354, allocations: 4 kB / 0.5669 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.02359, allocations: 53.33 kB / 0.5669 GB, free: 3.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.02359, allocations: 0 / 0.5669 GB, free: 3.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005421/0.02413, allocations: 172.5 kB / 0.5671 GB, free: 3.484 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.02418, allocations: 51.41 kB / 0.5671 GB, free: 3.422 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.02451, allocations: 312.8 kB / 0.5674 GB, free: 3.102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.02454, allocations: 29.7 kB / 0.5675 GB, free: 3.066 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.02476, allocations: 270.9 kB / 0.5677 GB, free: 2.797 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.02481, allocations: 55.56 kB / 0.5678 GB, free: 2.742 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.02492, allocations: 59.55 kB / 0.5678 GB, free: 2.672 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.0252, allocations: 0.504 MB / 0.5683 GB, free: 2.156 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.02528, allocations: 36.44 kB / 0.5684 GB, free: 2.121 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.02549, allocations: 172.8 kB / 0.5685 GB, free: 1.898 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.02579, allocations: 215.4 kB / 0.5687 GB, free: 1.637 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.0258, allocations: 0 / 0.5687 GB, free: 1.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000429/0.02623, allocations: 236.9 kB / 0.569 GB, free: 1.395 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.02624, allocations: 7.938 kB / 0.569 GB, free: 1.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.02625, allocations: 4 kB / 0.569 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.0265, allocations: 40 kB / 0.569 GB, free: 1.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.0267, allocations: 51.92 kB / 0.5691 GB, free: 1.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.02845, allocations: 1.759 MB / 0.5708 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.02861, allocations: 19.89 kB / 0.5708 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.02863, allocations: 8 kB / 0.5708 GB, free: 15.38 MB / 0.4948 GB 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 0.0001967/0.02883, allocations: 184.6 kB / 0.571 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.02889, allocations: 31.86 kB / 0.571 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.02895, allocations: 21.47 kB / 0.571 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02895, allocations: 3.938 kB / 0.571 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.02895, allocations: 0 / 0.571 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.02896, allocations: 3.984 kB / 0.571 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.03005, allocations: 0.6238 MB / 0.5717 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03005, allocations: 192 / 0.5717 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.03016, allocations: 24 kB / 0.5717 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/0.03038, allocations: 43.66 kB / 0.5717 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.03039, allocations: 0 / 0.5717 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.03192, allocations: 1.767 MB / 0.5734 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.03193, allocations: 4 kB / 0.5734 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.03234, allocations: 345.5 kB / 0.5738 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.03244, allocations: 39.72 kB / 0.5738 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.03247, allocations: 11.94 kB / 0.5738 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.03264, allocations: 11.98 kB / 0.5738 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.03268, allocations: 11.98 kB / 0.5738 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.03269, allocations: 12.06 kB / 0.5739 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000205/0.03289, allocations: 205.8 kB / 0.5741 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03289, allocations: 0 / 0.5741 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004031/0.0333, allocations: 75.84 kB / 0.5741 GB, free: 11.72 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 0.0001376/0.03344, allocations: 111.1 kB / 0.5742 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.03395, allocations: 305.8 kB / 0.5745 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.03396, allocations: 0 / 0.5745 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.03423, allocations: 233.4 kB / 0.5747 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.03469, allocations: 49.66 kB / 0.5748 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.03568, allocations: 0.5398 MB / 0.5753 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.03591, allocations: 182.1 kB / 0.5755 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.03604, allocations: 33.92 kB / 0.5755 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.0361, allocations: 16.5 kB / 0.5755 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.0361, allocations: 4 kB / 0.5755 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.007235/0.04333, allocations: 2.472 MB / 0.578 GB, free: 7.738 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: 5.8403439649846405]