Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.001233/0.001233, 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.001366/0.001366, 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.424/1.424, allocations: 225.6 MB / 251.5 MB, free: 13.04 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.002647/0.002647, allocations: 298.2 kB / 307 MB, free: 8.352 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.188/1.188, allocations: 180.8 MB / 0.5304 GB, free: 14.5 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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 101.8 kB / 0.7311 GB, free: 38.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1867, allocations: 94.2 MB / 0.823 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.005913/0.1926, allocations: 3.169 MB / 0.8261 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1952, allocations: 1.363 MB / 0.8275 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.1954, allocations: 11.94 kB / 0.8275 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.1966, allocations: 354.7 kB / 0.8278 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.1971, allocations: 143.2 kB / 0.828 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.1975, allocations: 135.6 kB / 0.8281 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.198, allocations: 302.8 kB / 0.8284 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.1985, allocations: 172.7 kB / 0.8285 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1987, allocations: 143.5 kB / 0.8287 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.1991, allocations: 135.5 kB / 0.8288 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.1992, allocations: 20 kB / 0.8288 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.1995, allocations: 155.6 kB / 0.829 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1996, allocations: 83.72 kB / 0.8291 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.1998, allocations: 107.5 kB / 0.8292 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.2003, allocations: 334.8 kB / 0.8295 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2004, allocations: 0 / 0.8295 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2004, allocations: 0 / 0.8295 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.2004, allocations: 3.938 kB / 0.8295 GB, free: 11.37 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009336/0.2013, allocations: 461.5 kB / 0.8299 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2013, allocations: 8.031 kB / 0.8299 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/0.2019, allocations: 76.72 kB / 0.83 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.2022, allocations: 188.1 kB / 0.8302 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.2023, allocations: 16.75 kB / 0.8302 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.2023, allocations: 20.36 kB / 0.8302 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.2028, allocations: 295.5 kB / 0.8305 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2028, allocations: 0 / 0.8305 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.2028, allocations: 12 kB / 0.8305 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.2029, allocations: 16.38 kB / 0.8305 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.2032, allocations: 196.9 kB / 0.8307 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.2048, allocations: 1.421 MB / 0.8321 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.2051, allocations: 102.5 kB / 0.8322 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.2051, allocations: 28.84 kB / 0.8322 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2052, allocations: 4 kB / 0.8322 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.2052, allocations: 38.56 kB / 0.8323 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2052, allocations: 0 / 0.8323 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004773/0.2057, allocations: 142.6 kB / 0.8324 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.2057, allocations: 51.41 kB / 0.8325 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.2059, allocations: 208 kB / 0.8327 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.206, allocations: 29.7 kB / 0.8327 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2061, allocations: 172.1 kB / 0.8328 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.2061, allocations: 19.86 kB / 0.8329 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.2062, allocations: 41.66 kB / 0.8329 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2063, allocations: 326.8 kB / 0.8332 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.2064, allocations: 35.98 kB / 0.8332 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2065, allocations: 104.5 kB / 0.8333 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.2067, allocations: 144.4 kB / 0.8335 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2067, allocations: 0 / 0.8335 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003282/0.2071, allocations: 198.3 kB / 0.8337 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2071, allocations: 4 kB / 0.8337 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2071, allocations: 4 kB / 0.8337 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.2072, allocations: 20.84 kB / 0.8337 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2074, allocations: 31.92 kB / 0.8337 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.2086, allocations: 1.326 MB / 0.835 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2087, allocations: 11.89 kB / 0.835 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2087, allocations: 16.16 kB / 0.8351 GB, free: 5.168 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001518/0.2088, allocations: 143 kB / 0.8352 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.2089, allocations: 19.84 kB / 0.8352 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.2089, allocations: 21.39 kB / 0.8352 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2089, allocations: 0 / 0.8352 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2089, allocations: 0 / 0.8352 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2089, allocations: 0 / 0.8352 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.2095, allocations: 426.2 kB / 0.8356 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2095, allocations: 0 / 0.8356 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.2095, allocations: 7.938 kB / 0.8356 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-05/0.2096, allocations: 24.84 kB / 0.8357 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2096, allocations: 3.938 kB / 0.8357 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.2107, allocations: 1.318 MB / 0.837 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2107, allocations: 0 / 0.837 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.2109, allocations: 216.4 kB / 0.8372 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.211, allocations: 19.89 kB / 0.8372 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.211, allocations: 4 kB / 0.8372 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2111, allocations: 0 / 0.8372 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.2111, allocations: 8.078 kB / 0.8372 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.2112, allocations: 7.938 kB / 0.8372 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000146/0.2113, allocations: 148.2 kB / 0.8373 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2113, allocations: 0 / 0.8373 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003247/0.2116, allocations: 55.89 kB / 0.8374 GB, free: 2.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.000127/0.2117, allocations: 99.25 kB / 0.8375 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.2121, allocations: 206.5 kB / 0.8377 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2121, allocations: 0.5625 kB / 0.8377 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.2123, allocations: 150.6 kB / 0.8378 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.2127, allocations: 30.73 kB / 0.8379 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.2133, allocations: 369 kB / 0.8382 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.2138, allocations: 0.7515 MB / 0.8389 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.671e-05/0.2138, allocations: 21.48 kB / 0.839 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.2139, allocations: 15.44 kB / 0.839 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.2139, allocations: 0 / 0.839 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of Templates: time 0.005257/0.2191, allocations: 1.872 MB / 0.8408 GB, free: 15.02 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.020302556004026] Failed to read output from testmodel.py, exit status != 0: 0.22676740900351433 0.24217574699999994 0.03865473699999994 Calling exit ...