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.0007192/0.0007192, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007115/0.0007115, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8321/0.8321, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.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.6682/0.6682, allocations: 154.5 MB / 414.5 MB, free: 0.8438 MB / 378.7 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 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.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.312e-06/1.312e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.582e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003568/0.003584, allocations: 3.734 MB / 0.6229 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.005374, allocations: 1.694 MB / 0.6246 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.005509, allocations: 11.94 kB / 0.6246 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007368/0.006246, allocations: 490.1 kB / 0.625 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.006589, allocations: 234.5 kB / 0.6253 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.006917, allocations: 219.2 kB / 0.6255 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.007294, allocations: 482.3 kB / 0.6259 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.007663, allocations: 297.4 kB / 0.6262 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.007894, allocations: 271.4 kB / 0.6265 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.008188, allocations: 199.4 kB / 0.6267 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.00822, allocations: 28 kB / 0.6267 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.008487, allocations: 227.3 kB / 0.6269 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.008586, allocations: 131.6 kB / 0.627 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.008673, allocations: 123.7 kB / 0.6271 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.009112, allocations: 0.514 MB / 0.6276 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.009114, allocations: 0 / 0.6276 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.009115, allocations: 4 kB / 0.6277 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.00912, allocations: 0 / 0.6277 GB, free: 4.602 MB / 0.5886 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.0006648/0.009785, allocations: 0.5596 MB / 0.6282 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.009817, allocations: 13.47 kB / 0.6282 GB, free: 4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004436/0.01026, allocations: 136.5 kB / 0.6283 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.01051, allocations: 233.2 kB / 0.6286 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.01053, allocations: 25.02 kB / 0.6286 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.01056, allocations: 32.36 kB / 0.6286 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.01102, allocations: 0.5786 MB / 0.6292 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01103, allocations: 192 / 0.6292 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.01105, allocations: 12.38 kB / 0.6292 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.01109, allocations: 44.56 kB / 0.6292 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.01163, allocations: 318.3 kB / 0.6295 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.01277, allocations: 1.502 MB / 0.631 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.01301, allocations: 166.6 kB / 0.6312 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.01316, allocations: 96.81 kB / 0.6313 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.01317, allocations: 4 kB / 0.6313 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.01319, allocations: 38.48 kB / 0.6313 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.01319, allocations: 0 / 0.6313 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0003771/0.01356, allocations: 230 kB / 0.6315 GB, free: 436 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.01359, allocations: 55.41 kB / 0.6316 GB, free: 368 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.01373, allocations: 228 kB / 0.6318 GB, free: 132 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.01375, allocations: 29.7 kB / 0.6318 GB, free: 96 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01385, allocations: 208.2 kB / 0.632 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.01388, allocations: 51.59 kB / 0.6321 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.01393, allocations: 45.91 kB / 0.6321 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.01401, allocations: 334.8 kB / 0.6324 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.01407, allocations: 52.44 kB / 0.6325 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.812e-05/0.01417, allocations: 153.6 kB / 0.6326 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.01434, allocations: 218.9 kB / 0.6328 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.01434, allocations: 4 kB / 0.6328 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002553/0.0146, allocations: 256.6 kB / 0.6331 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01461, allocations: 4 kB / 0.6331 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01462, allocations: 4 kB / 0.6331 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.01475, allocations: 33.22 kB / 0.6331 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01486, allocations: 47.92 kB / 0.6332 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000673/0.01553, allocations: 1.295 MB / 0.6344 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/0.01561, allocations: 31.77 kB / 0.6345 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.01563, allocations: 8 kB / 0.6345 GB, free: 13.16 MB / 0.6042 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.0001055/0.01573, allocations: 170.8 kB / 0.6346 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.01577, allocations: 27.84 kB / 0.6347 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.01579, allocations: 21.56 kB / 0.6347 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01579, allocations: 7.875 kB / 0.6347 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01579, allocations: 4 kB / 0.6347 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01579, allocations: 3.984 kB / 0.6347 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.01628, allocations: 0.5506 MB / 0.6352 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01628, allocations: 4 kB / 0.6352 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.01632, allocations: 19.94 kB / 0.6353 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.143e-05/0.01637, allocations: 24.84 kB / 0.6353 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.01638, allocations: 4 kB / 0.6353 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007855/0.01717, allocations: 1.299 MB / 0.6366 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01717, allocations: 0 / 0.6366 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.01737, allocations: 313.2 kB / 0.6369 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.01741, allocations: 39.72 kB / 0.6369 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.01743, allocations: 4 kB / 0.6369 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.0175, allocations: 15.98 kB / 0.6369 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.01753, allocations: 19.92 kB / 0.6369 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.01753, allocations: 4 kB / 0.6369 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.445e-05/0.01762, allocations: 157.9 kB / 0.6371 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.01762, allocations: 4 kB / 0.6371 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002357/0.01785, allocations: 83.84 kB / 0.6372 GB, free: 10.2 MB / 0.6042 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 7.553e-05/0.01793, allocations: 95.19 kB / 0.6373 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.01823, allocations: 267.1 kB / 0.6375 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01823, allocations: 4.062 kB / 0.6375 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.01834, allocations: 178.5 kB / 0.6377 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.01861, allocations: 57.55 kB / 0.6377 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.01917, allocations: 0.5687 MB / 0.6383 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.01928, allocations: 190.1 kB / 0.6385 GB, free: 8.754 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.01932, allocations: 24.5 kB / 0.6385 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.01932, allocations: 0 / 0.6385 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of Templates: time 0.003753/0.02308, allocations: 4.351 MB / 0.6428 GB, free: 4.391 MB / 0.6042 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.588859857991338] Failed to read output from testmodel.py, exit status != 0: 0.027544344775378704 0.034941639000000004 0.024355137000000002 Calling exit ...