Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001267/0.001267, allocations: 80.45 kB / 19.18 MB, free: 2.52 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.001393/0.001393, allocations: 160.8 kB / 22.45 MB, free: 5.375 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.473/1.473, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.204/1.204, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.017e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.006979/0.007009, allocations: 3.733 MB / 0.6221 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003362/0.01037, allocations: 1.69 MB / 0.6238 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.01052, allocations: 7.938 kB / 0.6238 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.01212, allocations: 494 kB / 0.6243 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.01267, allocations: 246.5 kB / 0.6245 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.01322, allocations: 211.3 kB / 0.6247 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000596/0.01382, allocations: 482.2 kB / 0.6252 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006675/0.01448, allocations: 301.4 kB / 0.6255 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.01484, allocations: 279.3 kB / 0.6257 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.01525, allocations: 195.5 kB / 0.6259 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.01531, allocations: 28 kB / 0.6259 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.01573, allocations: 227.2 kB / 0.6262 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.01588, allocations: 135.6 kB / 0.6263 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.01605, allocations: 119.7 kB / 0.6264 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007425/0.01679, allocations: 0.5063 MB / 0.6269 GB, free: 12.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.0168, allocations: 3.938 kB / 0.6269 GB, free: 12.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.0168, allocations: 0 / 0.6269 GB, free: 12.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.01681, allocations: 4 kB / 0.6269 GB, free: 12.04 MB / 0.545 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.001169/0.01798, allocations: 0.5596 MB / 0.6274 GB, free: 11.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.01803, allocations: 9.469 kB / 0.6275 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009359/0.01897, allocations: 136.6 kB / 0.6276 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.01936, allocations: 237.2 kB / 0.6278 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.01939, allocations: 25.02 kB / 0.6278 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.01944, allocations: 24.38 kB / 0.6279 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000876/0.02032, allocations: 0.5787 MB / 0.6284 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.02033, allocations: 192 / 0.6284 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.02037, allocations: 20.25 kB / 0.6284 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.134e-05/0.02043, allocations: 36.56 kB / 0.6285 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.02095, allocations: 326.3 kB / 0.6288 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.02305, allocations: 1.502 MB / 0.6303 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.02343, allocations: 162.6 kB / 0.6304 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.02369, allocations: 100.8 kB / 0.6305 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.02371, allocations: 256 / 0.6305 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.02374, allocations: 38.5 kB / 0.6305 GB, free: 8.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.02374, allocations: 0 / 0.6305 GB, free: 8.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005977/0.02434, allocations: 228.9 kB / 0.6308 GB, free: 7.859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.02438, allocations: 55.5 kB / 0.6308 GB, free: 7.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.02464, allocations: 236 kB / 0.631 GB, free: 7.555 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.02466, allocations: 25.7 kB / 0.6311 GB, free: 7.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.02482, allocations: 208.2 kB / 0.6313 GB, free: 7.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.02487, allocations: 51.59 kB / 0.6313 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.02495, allocations: 49.89 kB / 0.6314 GB, free: 7.203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.02512, allocations: 330.8 kB / 0.6317 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.02523, allocations: 56.44 kB / 0.6317 GB, free: 6.816 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.0254, allocations: 149.3 kB / 0.6319 GB, free: 6.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.02569, allocations: 217.5 kB / 0.6321 GB, free: 6.383 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.0257, allocations: 0 / 0.6321 GB, free: 6.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004673/0.02616, allocations: 258 kB / 0.6323 GB, free: 6.121 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.02618, allocations: 8 kB / 0.6323 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.02619, allocations: 4 kB / 0.6323 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.02635, allocations: 28.83 kB / 0.6324 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.02654, allocations: 52.3 kB / 0.6324 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.02772, allocations: 1.295 MB / 0.6337 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.02788, allocations: 27.91 kB / 0.6337 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.0279, allocations: 11.98 kB / 0.6337 GB, free: 4.594 MB / 0.545 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.0001861/0.02809, allocations: 170.7 kB / 0.6339 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.02814, allocations: 31.95 kB / 0.6339 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.02818, allocations: 25.45 kB / 0.6339 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.02819, allocations: 3.938 kB / 0.6339 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.02819, allocations: 0 / 0.6339 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.02819, allocations: 0 / 0.6339 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/0.02905, allocations: 0.5544 MB / 0.6345 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02906, allocations: 0 / 0.6345 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.02915, allocations: 32.17 kB / 0.6345 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.745e-05/0.02924, allocations: 24.78 kB / 0.6345 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.02925, allocations: 8 kB / 0.6345 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.03036, allocations: 1.284 MB / 0.6358 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03036, allocations: 4.031 kB / 0.6358 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.03073, allocations: 315.9 kB / 0.6361 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.0308, allocations: 35.77 kB / 0.6361 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.03083, allocations: 8 kB / 0.6361 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.03099, allocations: 8.094 kB / 0.6361 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.03103, allocations: 19.91 kB / 0.6362 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.03104, allocations: 8 kB / 0.6362 GB, free: 1.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001621/0.0312, allocations: 153.9 kB / 0.6363 GB, free: 1.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.0312, allocations: 0 / 0.6363 GB, free: 1.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004091/0.03161, allocations: 83.78 kB / 0.6364 GB, free: 1.641 MB / 0.545 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.000129/0.03174, allocations: 111.1 kB / 0.6365 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.0322, allocations: 262.4 kB / 0.6368 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0322, allocations: 0.75 kB / 0.6368 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.03243, allocations: 182.8 kB / 0.6369 GB, free: 1.062 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.03288, allocations: 60.45 kB / 0.637 GB, free: 1.008 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009009/0.03379, allocations: 0.5235 MB / 0.6375 GB, free: 444 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.03398, allocations: 186.2 kB / 0.6377 GB, free: 240 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000119/0.0341, allocations: 41.91 kB / 0.6377 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.03415, allocations: 20.5 kB / 0.6377 GB, free: 176 kB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.03415, allocations: 0 / 0.6377 GB, free: 176 kB / 0.545 GB Notification: Performance of Templates: time 0.006449/0.0406, allocations: 2.437 MB / 0.6401 GB, free: 13.81 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.831477288156748] Failed to read output from testmodel.py, exit status != 0: 0.049514222890138626 0.064440748 0.044102991 Calling exit ...