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.00169/0.00169, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002089/0.002089, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.002638/0.002638, allocations: 289.6 kB / 312.7 MB, free: 2.621 MB / 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 1.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 14.66 MB / 382.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.003134/0.003134, allocations: 101.4 kB / 0.74 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1871, allocations: 95.38 MB / 0.8331 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.005972/0.1931, allocations: 3.796 MB / 0.8368 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1962, allocations: 1.679 MB / 0.8385 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1963, allocations: 11.94 kB / 0.8385 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.1978, allocations: 494.1 kB / 0.8389 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.1984, allocations: 226.9 kB / 0.8392 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.1989, allocations: 205 kB / 0.8394 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.1995, allocations: 474.5 kB / 0.8398 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.2, allocations: 297.2 kB / 0.8401 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.2002, allocations: 203.3 kB / 0.8403 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.2006, allocations: 207.2 kB / 0.8405 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.2007, allocations: 28 kB / 0.8405 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.2011, allocations: 219.5 kB / 0.8407 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2013, allocations: 131.6 kB / 0.8408 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.2014, allocations: 143.4 kB / 0.841 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.2021, allocations: 0.5098 MB / 0.8415 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2021, allocations: 0 / 0.8415 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2021, allocations: 4 kB / 0.8415 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2021, allocations: 3.938 kB / 0.8415 GB, free: 15.27 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.001025/0.2031, allocations: 0.5635 MB / 0.842 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2031, allocations: 9.344 kB / 0.842 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.204, allocations: 136.6 kB / 0.8422 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.2045, allocations: 241.9 kB / 0.8424 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2045, allocations: 17.03 kB / 0.8424 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.2045, allocations: 28.38 kB / 0.8424 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.2053, allocations: 0.5784 MB / 0.843 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2054, allocations: 4 kB / 0.843 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.2054, allocations: 12 kB / 0.843 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.2054, allocations: 32.64 kB / 0.8431 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.206, allocations: 322.2 kB / 0.8434 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.208, allocations: 1.513 MB / 0.8448 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.2084, allocations: 166.6 kB / 0.845 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.2086, allocations: 96.8 kB / 0.8451 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2086, allocations: 4.25 kB / 0.8451 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.2087, allocations: 34.56 kB / 0.8451 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.2087, allocations: 0 / 0.8451 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0005822/0.2092, allocations: 236.2 kB / 0.8454 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2093, allocations: 51.41 kB / 0.8454 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.2096, allocations: 229.2 kB / 0.8456 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2096, allocations: 25.7 kB / 0.8456 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.2097, allocations: 212.2 kB / 0.8459 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.2098, allocations: 55.56 kB / 0.8459 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/0.2099, allocations: 49.91 kB / 0.846 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.21, allocations: 334.8 kB / 0.8463 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2102, allocations: 60.44 kB / 0.8463 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.2104, allocations: 144.8 kB / 0.8465 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.2107, allocations: 226.8 kB / 0.8467 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2107, allocations: 4 kB / 0.8467 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004428/0.2111, allocations: 252.5 kB / 0.8469 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2112, allocations: 8 kB / 0.8469 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.2112, allocations: 7.984 kB / 0.8469 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.2114, allocations: 29.22 kB / 0.847 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.2116, allocations: 47.92 kB / 0.847 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.2129, allocations: 1.288 MB / 0.8483 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.2131, allocations: 23.78 kB / 0.8483 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2131, allocations: 16 kB / 0.8483 GB, free: 7.809 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.0001832/0.2133, allocations: 166.6 kB / 0.8485 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.2133, allocations: 23.8 kB / 0.8485 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.2134, allocations: 25.45 kB / 0.8485 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2134, allocations: 4 kB / 0.8485 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2134, allocations: 0 / 0.8485 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2134, allocations: 0 / 0.8485 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008855/0.2143, allocations: 0.5662 MB / 0.8491 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2143, allocations: 0 / 0.8491 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2144, allocations: 23.98 kB / 0.8491 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.551e-05/0.2145, allocations: 24.84 kB / 0.8491 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.2145, allocations: 3.984 kB / 0.8491 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.2156, allocations: 1.304 MB / 0.8504 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.2156, allocations: 7.969 kB / 0.8504 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.216, allocations: 317.1 kB / 0.8507 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.2161, allocations: 31.84 kB / 0.8507 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.2161, allocations: 4 kB / 0.8507 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2162, allocations: 11.98 kB / 0.8508 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.2163, allocations: 15.98 kB / 0.8508 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.2163, allocations: 7.938 kB / 0.8508 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001634/0.2164, allocations: 161.9 kB / 0.8509 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2164, allocations: 4 kB / 0.8509 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003999/0.2168, allocations: 79.78 kB / 0.851 GB, free: 4.84 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 0.0001236/0.217, allocations: 103.2 kB / 0.8511 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.2174, allocations: 263 kB / 0.8514 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2174, allocations: 8.188 kB / 0.8514 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.2177, allocations: 178.6 kB / 0.8515 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.2181, allocations: 60.2 kB / 0.8516 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009243/0.2191, allocations: 0.5441 MB / 0.8521 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.2193, allocations: 178.1 kB / 0.8523 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000124/0.2194, allocations: 41.92 kB / 0.8523 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.2194, allocations: 23.42 kB / 0.8524 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.2194, allocations: 0 / 0.8524 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of Templates: time 0.006911/0.2263, allocations: 2.775 MB / 0.8551 GB, free: 0.6523 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.363502878695726] Failed to read output from testmodel.py, exit status != 0: 0.23422597907483578 0.249661136 0.044408765 Calling exit ...