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.001381/0.001381, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00144/0.00144, allocations: 222.1 kB / 23 MB, free: 4.914 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002563/0.002563, allocations: 292 kB / 313.5 MB, free: 2.613 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.244/1.244, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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.003039/0.003039, allocations: 98.38 kB / 0.7407 GB, free: 27.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.193, allocations: 95.38 MB / 0.8338 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.006245/0.1993, allocations: 3.794 MB / 0.8375 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003122/0.2024, allocations: 1.679 MB / 0.8392 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.2026, allocations: 7.938 kB / 0.8392 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.2041, allocations: 0.4954 MB / 0.8397 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005607/0.2047, allocations: 226.9 kB / 0.8399 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.2052, allocations: 209.4 kB / 0.8401 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.2058, allocations: 470.4 kB / 0.8405 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.2064, allocations: 293.4 kB / 0.8408 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.2066, allocations: 203.3 kB / 0.841 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.207, allocations: 211.2 kB / 0.8412 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.2071, allocations: 31.94 kB / 0.8412 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.2075, allocations: 219.5 kB / 0.8415 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.2077, allocations: 127.8 kB / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.2079, allocations: 147.3 kB / 0.8417 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.2086, allocations: 0.502 MB / 0.8422 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2086, allocations: 0 / 0.8422 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2086, allocations: 0 / 0.8422 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2086, allocations: 3.938 kB / 0.8422 GB, free: 15.23 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.00107/0.2097, allocations: 0.5634 MB / 0.8428 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2097, allocations: 13.33 kB / 0.8428 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009992/0.2107, allocations: 132.6 kB / 0.8429 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.2112, allocations: 241.9 kB / 0.8431 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.2112, allocations: 21.03 kB / 0.8432 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.2113, allocations: 28.36 kB / 0.8432 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008005/0.2121, allocations: 0.5823 MB / 0.8438 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2121, allocations: 0 / 0.8438 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.2121, allocations: 12 kB / 0.8438 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.2122, allocations: 36.52 kB / 0.8438 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.2127, allocations: 326.3 kB / 0.8441 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.2148, allocations: 1.502 MB / 0.8456 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.2152, allocations: 170.6 kB / 0.8457 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.2154, allocations: 100.8 kB / 0.8458 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2154, allocations: 0 / 0.8458 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2155, allocations: 34.81 kB / 0.8459 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 9.91e-07/0.2155, allocations: 0 / 0.8459 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0005866/0.2161, allocations: 230.3 kB / 0.8461 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.2161, allocations: 55.34 kB / 0.8461 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.2164, allocations: 237.2 kB / 0.8464 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2165, allocations: 25.7 kB / 0.8464 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.2166, allocations: 212.2 kB / 0.8466 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.2167, allocations: 51.59 kB / 0.8466 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.2167, allocations: 49.89 kB / 0.8467 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2169, allocations: 330.8 kB / 0.847 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.217, allocations: 56.44 kB / 0.8471 GB, free: 10 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2172, allocations: 151.1 kB / 0.8472 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.2175, allocations: 221.3 kB / 0.8474 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.2175, allocations: 4 kB / 0.8474 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004383/0.2179, allocations: 258.1 kB / 0.8477 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.218, allocations: 4 kB / 0.8477 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.218, allocations: 4 kB / 0.8477 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.2181, allocations: 24.84 kB / 0.8477 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.2183, allocations: 48.36 kB / 0.8477 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.2197, allocations: 1.299 MB / 0.849 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.2199, allocations: 27.78 kB / 0.849 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.2199, allocations: 12 kB / 0.849 GB, free: 7.773 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.0002103/0.2201, allocations: 164.5 kB / 0.8492 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.2202, allocations: 27.95 kB / 0.8492 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.2202, allocations: 29.41 kB / 0.8493 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2202, allocations: 0 / 0.8493 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2202, allocations: 4 kB / 0.8493 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2203, allocations: 3.984 kB / 0.8493 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008964/0.2211, allocations: 0.5583 MB / 0.8498 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2212, allocations: 4 kB / 0.8498 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.2212, allocations: 16.19 kB / 0.8498 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.683e-05/0.2213, allocations: 36.77 kB / 0.8499 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2213, allocations: 4 kB / 0.8499 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.2225, allocations: 1.297 MB / 0.8511 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2225, allocations: 0 / 0.8511 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.2229, allocations: 320.2 kB / 0.8514 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.223, allocations: 31.84 kB / 0.8515 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.223, allocations: 8.094 kB / 0.8515 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.2232, allocations: 19.92 kB / 0.8515 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.2232, allocations: 11.98 kB / 0.8515 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.2232, allocations: 11.94 kB / 0.8515 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001792/0.2234, allocations: 157.8 kB / 0.8517 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2234, allocations: 0 / 0.8517 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004124/0.2238, allocations: 79.78 kB / 0.8517 GB, free: 4.809 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.0001229/0.2239, allocations: 107.2 kB / 0.8519 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005202/0.2245, allocations: 266.4 kB / 0.8521 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.2245, allocations: 0 / 0.8521 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.2247, allocations: 183.7 kB / 0.8523 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.2252, allocations: 44.64 kB / 0.8523 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009876/0.2262, allocations: 0.5883 MB / 0.8529 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.2264, allocations: 182.1 kB / 0.8531 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.2265, allocations: 19.44 kB / 0.8531 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.2265, allocations: 0 / 0.8531 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of Templates: time 0.007613/0.2341, allocations: 4.358 MB / 0.8573 GB, free: 14.98 MB / 0.6075 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: 9.271381301805377] Failed to read output from testmodel.py, exit status != 0: 0.24191232025623322 0.26752991299999995 0.05411340499999994 Calling exit ...