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.001654/0.001654, allocations: 83.73 kB / 19.76 MB, free: 2.02 MB / 14.72 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.001919/0.001919, allocations: 161.8 kB / 23 MB, free: 4.945 MB / 14.72 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 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.00257/0.00257, allocations: 241.9 kB / 260 MB, free: 420 kB / 238.1 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.9242/0.9242, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003061/0.003061, allocations: 99.84 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4079, allocations: 95.34 MB / 0.7404 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.004891/0.4128, allocations: 3.791 MB / 0.7441 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002525/0.4153, allocations: 1.681 MB / 0.7458 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.4154, allocations: 10 kB / 0.7458 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.4168, allocations: 0.4902 MB / 0.7463 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.4173, allocations: 226.2 kB / 0.7465 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.4177, allocations: 211.1 kB / 0.7467 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.4182, allocations: 470.7 kB / 0.7471 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.4187, allocations: 288.7 kB / 0.7474 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.4189, allocations: 197.6 kB / 0.7476 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.4194, allocations: 215.9 kB / 0.7478 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.5e-05/0.4195, allocations: 28.22 kB / 0.7478 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.42, allocations: 216.7 kB / 0.748 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.4202, allocations: 132.4 kB / 0.7482 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.4204, allocations: 150.5 kB / 0.7483 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008884/0.4213, allocations: 0.5036 MB / 0.7488 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4213, allocations: 11.88 kB / 0.7488 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4213, allocations: 0 / 0.7488 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.4213, allocations: 1 kB / 0.7488 GB, free: 12.57 MB / 0.5919 GB 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.001194/0.4225, allocations: 0.5563 MB / 0.7493 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.4226, allocations: 11.14 kB / 0.7494 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.424, allocations: 138.4 kB / 0.7495 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.4245, allocations: 233.8 kB / 0.7497 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.4246, allocations: 20.73 kB / 0.7497 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.4246, allocations: 26.62 kB / 0.7498 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.4254, allocations: 0.5843 MB / 0.7503 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4254, allocations: 7.938 kB / 0.7503 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.4255, allocations: 12.97 kB / 0.7504 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.4255, allocations: 30.22 kB / 0.7504 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.426, allocations: 316.7 kB / 0.7507 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.4277, allocations: 1.516 MB / 0.7522 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.4281, allocations: 162.9 kB / 0.7523 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.4283, allocations: 99.47 kB / 0.7524 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4283, allocations: 1.719 kB / 0.7524 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.4284, allocations: 37.22 kB / 0.7524 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.4284, allocations: 0 / 0.7524 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0005546/0.4289, allocations: 229.2 kB / 0.7527 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.4289, allocations: 52.91 kB / 0.7527 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.4291, allocations: 236.2 kB / 0.7529 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.4292, allocations: 27.45 kB / 0.753 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.4293, allocations: 210.9 kB / 0.7532 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.4293, allocations: 58.72 kB / 0.7532 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/0.4294, allocations: 50.33 kB / 0.7533 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.4294, allocations: 337.4 kB / 0.7536 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.4295, allocations: 55.42 kB / 0.7536 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4296, allocations: 151.2 kB / 0.7538 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.4299, allocations: 211.7 kB / 0.754 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.4299, allocations: 5.844 kB / 0.754 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003882/0.4303, allocations: 264.8 kB / 0.7543 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4303, allocations: 6.625 kB / 0.7543 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4303, allocations: 3.031 kB / 0.7543 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.4305, allocations: 31.53 kB / 0.7543 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.4306, allocations: 48.67 kB / 0.7543 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008334/0.4315, allocations: 1.288 MB / 0.7556 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.4316, allocations: 26.69 kB / 0.7556 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.4317, allocations: 12.75 kB / 0.7556 GB, free: 7.352 MB / 0.5919 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.0001404/0.4318, allocations: 171 kB / 0.7558 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.4318, allocations: 25.36 kB / 0.7558 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.4319, allocations: 25.14 kB / 0.7558 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4319, allocations: 1.938 kB / 0.7558 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.4319, allocations: 0.6094 kB / 0.7558 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4319, allocations: 2.391 kB / 0.7559 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/0.4326, allocations: 0.5556 MB / 0.7564 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4326, allocations: 2.594 kB / 0.7564 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.4327, allocations: 22.03 kB / 0.7564 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.022e-05/0.4328, allocations: 28.5 kB / 0.7564 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4328, allocations: 6.969 kB / 0.7565 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006968/0.4335, allocations: 1.304 MB / 0.7577 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4335, allocations: 2.078 kB / 0.7577 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.4338, allocations: 315.7 kB / 0.758 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.4339, allocations: 40.61 kB / 0.7581 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.4339, allocations: 4.422 kB / 0.7581 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4341, allocations: 10.8 kB / 0.7581 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.4341, allocations: 11.86 kB / 0.7581 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4341, allocations: 17.38 kB / 0.7581 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001335/0.4343, allocations: 159.5 kB / 0.7583 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.4343, allocations: 0 / 0.7583 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004144/0.4347, allocations: 76.28 kB / 0.7583 GB, free: 5.086 MB / 0.5919 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 9.294e-05/0.4348, allocations: 108 kB / 0.7584 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.4352, allocations: 263.9 kB / 0.7587 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4352, allocations: 0 / 0.7587 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.4354, allocations: 179.6 kB / 0.7589 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.4359, allocations: 55.47 kB / 0.7589 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/0.4367, allocations: 0.5412 MB / 0.7594 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.4369, allocations: 187.5 kB / 0.7596 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.437, allocations: 37.56 kB / 0.7597 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.437, allocations: 19.75 kB / 0.7597 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.437, allocations: 0 / 0.7597 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of Templates: time 0.005828/0.4429, allocations: 2.45 MB / 0.7621 GB, free: 3.109 MB / 0.5919 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.876228438923135] Failed to read output from testmodel.py, exit status != 0: 0.4516876860288903 0.46323365399999994 0.038993292000000006 Calling exit ...