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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 194 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00246/0.00246, allocations: 290.9 kB / 307.1 MB, free: 8.367 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.281/1.281, allocations: 180.8 MB / 0.5304 GB, free: 14.69 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002739/0.002739, allocations: 99.05 kB / 0.7311 GB, free: 38.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1727, allocations: 94.2 MB / 0.8231 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.005938/0.1787, allocations: 3.964 MB / 0.8269 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.1817, allocations: 1.772 MB / 0.8287 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.1819, allocations: 11.94 kB / 0.8287 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.1834, allocations: 0.5126 MB / 0.8292 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005571/0.184, allocations: 222.9 kB / 0.8294 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.1846, allocations: 203.5 kB / 0.8296 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005942/0.1851, allocations: 478.1 kB / 0.83 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.1856, allocations: 265.6 kB / 0.8303 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.1859, allocations: 199.3 kB / 0.8305 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.1863, allocations: 235.1 kB / 0.8307 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.1864, allocations: 31.98 kB / 0.8307 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.1868, allocations: 223.5 kB / 0.8309 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1869, allocations: 131.6 kB / 0.8311 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.1871, allocations: 167.2 kB / 0.8312 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006525/0.1877, allocations: 0.5059 MB / 0.8317 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1878, allocations: 0 / 0.8317 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.01e-07/0.1878, allocations: 0 / 0.8317 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.1878, allocations: 0 / 0.8317 GB, free: 9.141 MB / 0.5762 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.001015/0.1888, allocations: 0.5674 MB / 0.8323 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1888, allocations: 8.031 kB / 0.8323 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.1897, allocations: 136.6 kB / 0.8324 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1901, allocations: 234 kB / 0.8326 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.1901, allocations: 21.03 kB / 0.8327 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.1902, allocations: 24.38 kB / 0.8327 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.1909, allocations: 471.7 kB / 0.8331 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1909, allocations: 0 / 0.8331 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.191, allocations: 15.94 kB / 0.8331 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.018e-05/0.191, allocations: 32.64 kB / 0.8332 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.1915, allocations: 318.3 kB / 0.8335 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.1939, allocations: 2.143 MB / 0.8356 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.1942, allocations: 158.7 kB / 0.8357 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.1945, allocations: 101 kB / 0.8358 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.1945, allocations: 8.094 kB / 0.8358 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1945, allocations: 38.5 kB / 0.8359 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.1945, allocations: 3.938 kB / 0.8359 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.000566/0.1951, allocations: 218.3 kB / 0.8361 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1951, allocations: 55.39 kB / 0.8361 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.1954, allocations: 265.9 kB / 0.8364 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1955, allocations: 29.7 kB / 0.8364 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1956, allocations: 212.2 kB / 0.8366 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.1957, allocations: 55.58 kB / 0.8367 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/0.1957, allocations: 53.89 kB / 0.8367 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1959, allocations: 330.8 kB / 0.837 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.196, allocations: 60.38 kB / 0.8371 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.1962, allocations: 145 kB / 0.8372 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.1964, allocations: 218.9 kB / 0.8374 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1964, allocations: 0 / 0.8374 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004351/0.1969, allocations: 270.1 kB / 0.8377 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1969, allocations: 4 kB / 0.8377 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1969, allocations: 4 kB / 0.8377 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.197, allocations: 28.78 kB / 0.8377 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.1972, allocations: 48.34 kB / 0.8378 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.1984, allocations: 1.331 MB / 0.8391 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.1986, allocations: 23.91 kB / 0.8391 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1986, allocations: 12 kB / 0.8391 GB, free: 0.9922 MB / 0.5762 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.0001856/0.1988, allocations: 170.3 kB / 0.8393 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.1988, allocations: 31.8 kB / 0.8393 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.1989, allocations: 25.77 kB / 0.8393 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1989, allocations: 4 kB / 0.8393 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1989, allocations: 4.062 kB / 0.8393 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1989, allocations: 0 / 0.8393 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009302/0.1998, allocations: 0.6628 MB / 0.84 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1998, allocations: 4.031 kB / 0.84 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1999, allocations: 28.03 kB / 0.84 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.06e-05/0.2, allocations: 28.78 kB / 0.84 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.2, allocations: 0 / 0.84 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.2012, allocations: 1.318 MB / 0.8413 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2012, allocations: 4.031 kB / 0.8413 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.2015, allocations: 324.9 kB / 0.8416 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.2016, allocations: 39.78 kB / 0.8417 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.2016, allocations: 4 kB / 0.8417 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2018, allocations: 12 kB / 0.8417 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.2018, allocations: 23.84 kB / 0.8417 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.2018, allocations: 4 kB / 0.8417 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002012/0.202, allocations: 193.2 kB / 0.8419 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.202, allocations: 0 / 0.8419 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003852/0.2024, allocations: 79.84 kB / 0.842 GB, free: 13.8 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.0001172/0.2025, allocations: 103.2 kB / 0.8421 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004648/0.203, allocations: 258.4 kB / 0.8423 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.203, allocations: 4.75 kB / 0.8423 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.2033, allocations: 182.7 kB / 0.8425 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.2038, allocations: 68.7 kB / 0.8426 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009956/0.2048, allocations: 0.5477 MB / 0.8431 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.2052, allocations: 0.7909 MB / 0.8439 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.2054, allocations: 42.27 kB / 0.8439 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.2054, allocations: 23.42 kB / 0.8439 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.2054, allocations: 0 / 0.8439 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.006961/0.2124, allocations: 2.883 MB / 0.8468 GB, free: 8.848 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.14931595599046] Failed to read output from testmodel.py, exit status != 0: 0.22004061698680744 0.23544969399999996 0.044487204 Calling exit ...