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.0009003/0.0009003, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001149/0.001149, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.039/1.039, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001712/0.001712, allocations: 247.5 kB / 261.3 MB, free: 12.67 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.7192/0.7192, allocations: 138.5 MB / 456.3 MB, free: 1.395 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: 3.938 kB / 0.5563 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.619e-05, allocations: 9.203 kB / 0.5564 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.003007/0.003023, allocations: 2.938 MB / 0.5592 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004434, allocations: 1.114 MB / 0.5603 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.004554, allocations: 11.94 kB / 0.5603 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.004944, allocations: 115.3 kB / 0.5604 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.005238, allocations: 198.8 kB / 0.5606 GB, free: 11.85 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.005496, allocations: 159.6 kB / 0.5608 GB, free: 11.69 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.005888, allocations: 486.2 kB / 0.5612 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.006237, allocations: 285.4 kB / 0.5615 GB, free: 10.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.006466, allocations: 283.3 kB / 0.5618 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.006741, allocations: 207.4 kB / 0.562 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.006775, allocations: 32 kB / 0.562 GB, free: 10.43 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.006917, allocations: 95.73 kB / 0.5621 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.007014, allocations: 135.6 kB / 0.5622 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.00712, allocations: 127.7 kB / 0.5624 GB, free: 10.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.007427, allocations: 322.9 kB / 0.5627 GB, free: 9.758 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.00743, allocations: 4 kB / 0.5627 GB, free: 9.754 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007431, allocations: 0 / 0.5627 GB, free: 9.754 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.007435, allocations: 0 / 0.5627 GB, free: 9.754 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.0005787/0.008014, allocations: 0.6518 MB / 0.5633 GB, free: 9.066 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.008043, allocations: 8.75 kB / 0.5633 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/0.008548, allocations: 172.4 kB / 0.5635 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.008782, allocations: 240 kB / 0.5637 GB, free: 8.629 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.0088, allocations: 25.02 kB / 0.5637 GB, free: 8.605 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.00883, allocations: 32.38 kB / 0.5638 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.009166, allocations: 436.9 kB / 0.5642 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.009178, allocations: 4.125 kB / 0.5642 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.009199, allocations: 12.38 kB / 0.5642 GB, free: 8.051 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.009234, allocations: 40.56 kB / 0.5642 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.009367, allocations: 104.4 kB / 0.5643 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.01048, allocations: 1.861 MB / 0.5661 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.01064, allocations: 107.2 kB / 0.5662 GB, free: 5.852 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.01073, allocations: 67.64 kB / 0.5663 GB, free: 5.781 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.01074, allocations: 4 kB / 0.5663 GB, free: 5.777 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.01076, allocations: 33.39 kB / 0.5663 GB, free: 5.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.01076, allocations: 0 / 0.5663 GB, free: 5.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002676/0.01102, allocations: 153.3 kB / 0.5665 GB, free: 5.574 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.01105, allocations: 55.41 kB / 0.5665 GB, free: 5.508 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.01118, allocations: 276.8 kB / 0.5668 GB, free: 5.223 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.0112, allocations: 25.7 kB / 0.5668 GB, free: 5.191 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.01129, allocations: 266.8 kB / 0.5671 GB, free: 4.926 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.01132, allocations: 55.56 kB / 0.5671 GB, free: 4.871 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.01138, allocations: 55.53 kB / 0.5672 GB, free: 4.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.01149, allocations: 0.5001 MB / 0.5677 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.01152, allocations: 24.44 kB / 0.5677 GB, free: 4.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.769e-05/0.01161, allocations: 148.8 kB / 0.5678 GB, free: 4.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.01174, allocations: 183.7 kB / 0.568 GB, free: 3.836 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01174, allocations: 0 / 0.568 GB, free: 3.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002107/0.01195, allocations: 200.5 kB / 0.5682 GB, free: 3.633 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01196, allocations: 11.98 kB / 0.5682 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01197, allocations: 4 kB / 0.5682 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.01211, allocations: 40.03 kB / 0.5683 GB, free: 3.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.01222, allocations: 55.89 kB / 0.5683 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007364/0.01295, allocations: 1.709 MB / 0.57 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.01304, allocations: 27.78 kB / 0.57 GB, free: 1.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01305, allocations: 12 kB / 0.57 GB, free: 1.656 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 9.194e-05/0.01314, allocations: 172.6 kB / 0.5702 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.01318, allocations: 27.86 kB / 0.5702 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.0132, allocations: 25.45 kB / 0.5702 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.0132, allocations: 4 kB / 0.5702 GB, free: 1.422 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01321, allocations: 0 / 0.5702 GB, free: 1.422 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01321, allocations: 3.938 kB / 0.5703 GB, free: 1.418 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.01369, allocations: 0.5612 MB / 0.5708 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01369, allocations: 7.938 kB / 0.5708 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.01374, allocations: 23.98 kB / 0.5708 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.502e-05/0.01383, allocations: 35.64 kB / 0.5709 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.01384, allocations: 4 kB / 0.5709 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006601/0.0145, allocations: 1.717 MB / 0.5725 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.0145, allocations: 4 kB / 0.5725 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.01469, allocations: 329.4 kB / 0.5729 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.01473, allocations: 35.72 kB / 0.5729 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.01474, allocations: 11.98 kB / 0.5729 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.01482, allocations: 16.06 kB / 0.5729 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.01485, allocations: 11.98 kB / 0.5729 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.01485, allocations: 4 kB / 0.5729 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.517e-05/0.01493, allocations: 185.7 kB / 0.5731 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01493, allocations: 0 / 0.5731 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002397/0.01517, allocations: 75.84 kB / 0.5732 GB, free: 14.17 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 8.089e-05/0.01525, allocations: 107.1 kB / 0.5733 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.0155, allocations: 273.4 kB / 0.5735 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.0155, allocations: 4 kB / 0.5736 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.01562, allocations: 217.5 kB / 0.5738 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.00029/0.01591, allocations: 59.12 kB / 0.5738 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.01666, allocations: 0.5358 MB / 0.5743 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.969e-05/0.01673, allocations: 112.3 kB / 0.5744 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.879e-05/0.0168, allocations: 17.95 kB / 0.5745 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.01691, allocations: 122.2 kB / 0.5746 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.01691, allocations: 4 kB / 0.5746 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.004473/0.02139, allocations: 2.695 MB / 0.5772 GB, free: 9.98 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.615876420866698]