Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.0007581/0.0007581, allocations: 115 kB / 19.7 MB, free: 0.5312 MB / 13.93 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.0008256/0.0008256, allocations: 203.2 kB / 23 MB, free: 3.129 MB / 13.93 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 0.8776/0.8776, allocations: 230.6 MB / 256.8 MB, free: 3.566 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7357/0.7357, allocations: 203.8 MB / 0.5049 GB, free: 0.707 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: IDEAS 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.0008649/0.0008649, allocations: 63.91 kB / 0.7194 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4284, allocations: 102 MB / 0.8191 GB, free: 25.31 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.00442/0.4328, allocations: 3.188 MB / 0.8222 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.4354, allocations: 1.424 MB / 0.8236 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.4356, allocations: 8.531 kB / 0.8236 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.4368, allocations: 349 kB / 0.8239 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.4373, allocations: 151.6 kB / 0.8241 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.4377, allocations: 134.4 kB / 0.8242 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.4381, allocations: 302.2 kB / 0.8245 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.4385, allocations: 188.6 kB / 0.8246 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.4386, allocations: 136.7 kB / 0.8248 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.4389, allocations: 141.6 kB / 0.8249 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.4389, allocations: 20.78 kB / 0.8249 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.4392, allocations: 172.4 kB / 0.8251 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.4393, allocations: 78.69 kB / 0.8252 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.4394, allocations: 110.2 kB / 0.8253 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.4398, allocations: 343.3 kB / 0.8256 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4398, allocations: 6.297 kB / 0.8256 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4398, allocations: 0.6875 kB / 0.8256 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.4398, allocations: 0 / 0.8256 GB, free: 21.26 MB / 0.6355 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.0005746/0.4404, allocations: 450.9 kB / 0.826 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4404, allocations: 15.78 kB / 0.8261 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.4408, allocations: 79.3 kB / 0.8261 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.441, allocations: 189.1 kB / 0.8263 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.441, allocations: 12.91 kB / 0.8263 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.441, allocations: 20.09 kB / 0.8263 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.4413, allocations: 302.2 kB / 0.8266 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4413, allocations: 0.7969 kB / 0.8266 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4414, allocations: 10.36 kB / 0.8266 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.4414, allocations: 24.84 kB / 0.8267 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.4416, allocations: 201.5 kB / 0.8269 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008842/0.4425, allocations: 1.419 MB / 0.8282 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.4427, allocations: 96.56 kB / 0.8283 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.4427, allocations: 29.58 kB / 0.8284 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.4427, allocations: 5.031 kB / 0.8284 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.4427, allocations: 32.31 kB / 0.8284 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.4427, allocations: 1.094 kB / 0.8284 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003229/0.4431, allocations: 152.3 kB / 0.8285 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.4431, allocations: 53.33 kB / 0.8286 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4432, allocations: 199.3 kB / 0.8288 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.4432, allocations: 38.86 kB / 0.8288 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.4433, allocations: 162.8 kB / 0.829 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.4433, allocations: 29.95 kB / 0.829 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.4433, allocations: 30.69 kB / 0.829 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.4434, allocations: 330.5 kB / 0.8294 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.4434, allocations: 36.48 kB / 0.8294 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.4435, allocations: 100.8 kB / 0.8295 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.4436, allocations: 148.6 kB / 0.8296 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4436, allocations: 0.9062 kB / 0.8296 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000208/0.4438, allocations: 190.9 kB / 0.8298 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4438, allocations: 9.266 kB / 0.8298 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4438, allocations: 2.188 kB / 0.8298 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.444, allocations: 26.27 kB / 0.8298 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.444, allocations: 29.7 kB / 0.8299 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000547/0.4446, allocations: 1.315 MB / 0.8312 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.4446, allocations: 17.81 kB / 0.8312 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.4446, allocations: 12.12 kB / 0.8312 GB, free: 16.56 MB / 0.6355 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 7.65e-05/0.4447, allocations: 155.7 kB / 0.8313 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.4447, allocations: 11.69 kB / 0.8313 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.4448, allocations: 18.88 kB / 0.8314 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4448, allocations: 0.8438 kB / 0.8314 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.4448, allocations: 1.75 kB / 0.8314 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4448, allocations: 0.5625 kB / 0.8314 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.4451, allocations: 427 kB / 0.8318 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4451, allocations: 0 / 0.8318 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.4451, allocations: 7.578 kB / 0.8318 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.674e-05/0.4452, allocations: 22.69 kB / 0.8318 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.4452, allocations: 5.906 kB / 0.8318 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004221/0.4456, allocations: 1.313 MB / 0.8331 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4456, allocations: 0.8438 kB / 0.8331 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.4457, allocations: 219.4 kB / 0.8333 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.4458, allocations: 17.41 kB / 0.8333 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.4458, allocations: 5.578 kB / 0.8333 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.4458, allocations: 8.266 kB / 0.8333 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.4458, allocations: 4.391 kB / 0.8333 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4458, allocations: 2.375 kB / 0.8333 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.651e-05/0.4459, allocations: 147.5 kB / 0.8335 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4459, allocations: 4 kB / 0.8335 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002206/0.4461, allocations: 56.69 kB / 0.8335 GB, free: 14.44 MB / 0.6355 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 7.298e-05/0.4462, allocations: 96.33 kB / 0.8336 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.4465, allocations: 207.4 kB / 0.8338 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4465, allocations: 1.5 kB / 0.8338 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.769e-05/0.4465, allocations: 147.4 kB / 0.834 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.4468, allocations: 31.98 kB / 0.834 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.4473, allocations: 400.4 kB / 0.8344 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.4474, allocations: 0.748 MB / 0.8351 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.4474, allocations: 15.69 kB / 0.8351 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.4474, allocations: 0 / 0.8351 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.004637/0.4521, allocations: 2.995 MB / 0.838 GB, free: 12.83 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.691438414854929] Failed to read output from testmodel.py, exit status != 0: 0.45764189399778843 0.465404578 0.023857281 Calling exit ...