Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00138/0.00138, allocations: 92.7 kB / 19.44 MB, free: 324 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.001742/0.001742, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.482/1.482, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.257/1.257, allocations: 154.6 MB / 414.2 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5196 GB, free: 2.609 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.805e-05, allocations: 5.375 kB / 0.5196 GB, free: 2.605 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.006352/0.00638, allocations: 3.734 MB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.009704, allocations: 1.681 MB / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.009913, allocations: 12.75 kB / 0.5249 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.01158, allocations: 495.7 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006397/0.01222, allocations: 236.7 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.01285, allocations: 209.7 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007298/0.01358, allocations: 0.4902 MB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006217/0.0142, allocations: 293.4 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.01474, allocations: 273.2 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005256/0.01526, allocations: 199.4 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.01533, allocations: 28 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.0158, allocations: 223.3 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.01598, allocations: 137.3 kB / 0.5274 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.01616, allocations: 123.7 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.0169, allocations: 0.5101 MB / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.0169, allocations: 0 / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.0169, allocations: 0 / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.01691, allocations: 0.75 kB / 0.528 GB, free: 10.01 MB / 0.4948 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.001111/0.01802, allocations: 0.5648 MB / 0.5285 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.01806, allocations: 9.375 kB / 0.5286 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.01909, allocations: 205.8 kB / 0.5288 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.01975, allocations: 234.3 kB / 0.529 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.01978, allocations: 21.97 kB / 0.529 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.01984, allocations: 32.31 kB / 0.529 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.02072, allocations: 0.5787 MB / 0.5296 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.02074, allocations: 3.438 kB / 0.5296 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.02078, allocations: 12.38 kB / 0.5296 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/0.02083, allocations: 32.58 kB / 0.5296 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.0214, allocations: 318.3 kB / 0.5299 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.02363, allocations: 1.52 MB / 0.5314 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.02404, allocations: 166.7 kB / 0.5316 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.02431, allocations: 102.3 kB / 0.5317 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.02432, allocations: 3.938 kB / 0.5317 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.02436, allocations: 38.5 kB / 0.5317 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.02436, allocations: 0.5625 kB / 0.5317 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0006558/0.02502, allocations: 222.8 kB / 0.5319 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.02507, allocations: 53.62 kB / 0.532 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.02536, allocations: 239.9 kB / 0.5322 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.02538, allocations: 29.7 kB / 0.5322 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.02555, allocations: 212.2 kB / 0.5324 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.02561, allocations: 55.56 kB / 0.5325 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.0257, allocations: 49.89 kB / 0.5325 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.02588, allocations: 325.3 kB / 0.5329 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.026, allocations: 60.44 kB / 0.5329 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.02619, allocations: 140.1 kB / 0.533 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.02651, allocations: 216.1 kB / 0.5333 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.02651, allocations: 3.938 kB / 0.5333 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004957/0.02701, allocations: 287.1 kB / 0.5335 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.02702, allocations: 4 kB / 0.5335 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.02703, allocations: 4 kB / 0.5335 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.0273, allocations: 38.39 kB / 0.5336 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.0275, allocations: 47.92 kB / 0.5336 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.02887, allocations: 1.297 MB / 0.5349 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.02904, allocations: 21.14 kB / 0.5349 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.02906, allocations: 12 kB / 0.5349 GB, free: 2.496 MB / 0.4948 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.0001961/0.02926, allocations: 167.2 kB / 0.5351 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.02932, allocations: 27.86 kB / 0.5351 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.02937, allocations: 21.47 kB / 0.5351 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.02937, allocations: 8.484 kB / 0.5351 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.02938, allocations: 4 kB / 0.5351 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.02938, allocations: 0.5938 kB / 0.5351 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000975/0.03036, allocations: 0.5566 MB / 0.5357 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.03036, allocations: 4 kB / 0.5357 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.03046, allocations: 25.08 kB / 0.5357 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.03063, allocations: 38.09 kB / 0.5357 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.03065, allocations: 7.984 kB / 0.5358 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.03209, allocations: 1.294 MB / 0.537 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.03209, allocations: 0 / 0.537 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.03251, allocations: 311.7 kB / 0.5373 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/0.0326, allocations: 39.78 kB / 0.5374 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.03262, allocations: 0 / 0.5374 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.03279, allocations: 15.98 kB / 0.5374 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.03283, allocations: 15.98 kB / 0.5374 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.03285, allocations: 9.297 kB / 0.5374 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001775/0.03303, allocations: 161.6 kB / 0.5375 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.03303, allocations: 0 / 0.5375 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004209/0.03345, allocations: 84.97 kB / 0.5376 GB, free: 15.52 MB / 0.5105 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.0001298/0.03358, allocations: 100.7 kB / 0.5377 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.03409, allocations: 270.2 kB / 0.538 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0341, allocations: 0 / 0.538 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.03435, allocations: 189.2 kB / 0.5382 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.03482, allocations: 50.95 kB / 0.5382 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.03578, allocations: 0.5337 MB / 0.5387 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.03601, allocations: 189 kB / 0.5389 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.03614, allocations: 42.58 kB / 0.539 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.0362, allocations: 20.5 kB / 0.539 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/0.0362, allocations: 0.8125 kB / 0.539 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of Templates: time 0.006773/0.04298, allocations: 2.435 MB / 0.5414 GB, free: 11.8 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.815187711967155]