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.0006999/0.0006999, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 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.0007074/0.0007074, allocations: 216.7 kB / 23 MB, free: 2.977 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.8687/0.8687, allocations: 230.6 MB / 256.8 MB, free: 9.637 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.7434/0.7434, allocations: 203.8 MB / 0.5049 GB, free: 10.47 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.0008495/0.0008495, allocations: 71.42 kB / 0.7194 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4513, allocations: 102 MB / 0.819 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003199/0.4545, allocations: 3.06 MB / 0.822 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.4561, allocations: 1.324 MB / 0.8233 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.4562, allocations: 8 kB / 0.8233 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.4568, allocations: 331.3 kB / 0.8236 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.4571, allocations: 149.5 kB / 0.8237 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.4573, allocations: 138.8 kB / 0.8239 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.4576, allocations: 304.6 kB / 0.8242 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.458, allocations: 188.1 kB / 0.8243 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4581, allocations: 128.8 kB / 0.8245 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.4583, allocations: 133.9 kB / 0.8246 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.4583, allocations: 18.47 kB / 0.8246 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.4585, allocations: 149.3 kB / 0.8248 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.4586, allocations: 82.88 kB / 0.8248 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.4587, allocations: 93.39 kB / 0.8249 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.4591, allocations: 346.5 kB / 0.8253 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4591, allocations: 0.7031 kB / 0.8253 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4591, allocations: 0.9688 kB / 0.8253 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4591, allocations: 0 / 0.8253 GB, free: 13.61 MB / 0.6198 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.0006529/0.4597, allocations: 450.4 kB / 0.8257 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.4598, allocations: 9.344 kB / 0.8257 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/0.4601, allocations: 83.75 kB / 0.8258 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.4603, allocations: 190.6 kB / 0.826 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4603, allocations: 17.16 kB / 0.826 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.4603, allocations: 23.23 kB / 0.826 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.4607, allocations: 382.5 kB / 0.8264 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4607, allocations: 1.219 kB / 0.8264 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.4607, allocations: 9.812 kB / 0.8264 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.4607, allocations: 18.84 kB / 0.8264 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.461, allocations: 197.9 kB / 0.8266 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.4618, allocations: 0.9869 MB / 0.8275 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.4619, allocations: 96.22 kB / 0.8276 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.462, allocations: 29.44 kB / 0.8277 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.462, allocations: 1.469 kB / 0.8277 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.462, allocations: 40.77 kB / 0.8277 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.462, allocations: 0 / 0.8277 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003083/0.4623, allocations: 140.4 kB / 0.8278 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.4623, allocations: 61.73 kB / 0.8279 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4625, allocations: 183.4 kB / 0.8281 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.4625, allocations: 30.83 kB / 0.8281 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.4626, allocations: 179.8 kB / 0.8283 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.4626, allocations: 22.03 kB / 0.8283 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.4626, allocations: 35.77 kB / 0.8283 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.4627, allocations: 330.8 kB / 0.8286 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.4627, allocations: 34.78 kB / 0.8287 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.4628, allocations: 100.1 kB / 0.8288 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.4629, allocations: 149.9 kB / 0.8289 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4629, allocations: 0 / 0.8289 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001936/0.4631, allocations: 183.3 kB / 0.8291 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4631, allocations: 6.219 kB / 0.8291 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4631, allocations: 3.141 kB / 0.8291 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.4633, allocations: 25.66 kB / 0.8291 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.4633, allocations: 28.7 kB / 0.8291 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000658/0.464, allocations: 1.3 MB / 0.8304 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.464, allocations: 14.69 kB / 0.8304 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.464, allocations: 5.406 kB / 0.8304 GB, free: 9.336 MB / 0.6198 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 8.994e-05/0.4641, allocations: 158.4 kB / 0.8306 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.4642, allocations: 17.22 kB / 0.8306 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.395e-05/0.4642, allocations: 18.88 kB / 0.8306 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.4642, allocations: 1.969 kB / 0.8306 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.4642, allocations: 1.25 kB / 0.8306 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4642, allocations: 0.6562 kB / 0.8306 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.4645, allocations: 370.8 kB / 0.831 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4645, allocations: 4.609 kB / 0.831 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.4645, allocations: 7.406 kB / 0.831 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-05/0.4646, allocations: 27.03 kB / 0.831 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.4646, allocations: 1.547 kB / 0.831 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005363/0.4651, allocations: 1.284 MB / 0.8323 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4651, allocations: 0.5625 kB / 0.8323 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.4652, allocations: 211 kB / 0.8325 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.4653, allocations: 29.61 kB / 0.8325 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-06/0.4653, allocations: 0.7656 kB / 0.8325 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.524e-05/0.4653, allocations: 8.125 kB / 0.8325 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.4653, allocations: 5.188 kB / 0.8325 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.4653, allocations: 10.48 kB / 0.8325 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.4654, allocations: 133.2 kB / 0.8326 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4654, allocations: 0 / 0.8326 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001993/0.4656, allocations: 53.92 kB / 0.8327 GB, free: 7.293 MB / 0.6198 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 6.85e-05/0.4657, allocations: 95.58 kB / 0.8328 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.4659, allocations: 206.6 kB / 0.833 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.4659, allocations: 0 / 0.833 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.466, allocations: 143.1 kB / 0.8331 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.4662, allocations: 29.98 kB / 0.8332 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.4667, allocations: 412.2 kB / 0.8335 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.4669, allocations: 135.9 kB / 0.8337 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.4669, allocations: 15.09 kB / 0.8337 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.4669, allocations: 0.5 kB / 0.8337 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of Templates: time 0.00395/0.4708, allocations: 2.975 MB / 0.8366 GB, free: 6.312 MB / 0.6198 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.841351909097284] Failed to read output from testmodel.py, exit status != 0: 0.47610866697505116 0.48487525099999995 0.023867169 Calling exit ...