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.001025/0.001025, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001678/0.001678, allocations: 173 kB / 23.49 MB, free: 1.059 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8148/0.8148, allocations: 154.6 MB / 414.9 MB, free: 0.6953 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 179] 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.853e-06/1.853e-06, allocations: 0 / 0.5203 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.446e-05, allocations: 3.078 kB / 0.5203 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.006802/0.006836, allocations: 3.906 MB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.009926, allocations: 1.774 MB / 0.5259 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.01011, allocations: 7.938 kB / 0.5259 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.01148, allocations: 0.5005 MB / 0.5264 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.01189, allocations: 233 kB / 0.5266 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.01226, allocations: 220.9 kB / 0.5268 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.01264, allocations: 482.2 kB / 0.5272 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.01302, allocations: 293.4 kB / 0.5275 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.01323, allocations: 276.7 kB / 0.5278 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.01353, allocations: 203.4 kB / 0.528 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.01356, allocations: 28.56 kB / 0.528 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.01381, allocations: 224.1 kB / 0.5282 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.01391, allocations: 139.6 kB / 0.5284 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.014, allocations: 117.2 kB / 0.5285 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.01439, allocations: 398.7 kB / 0.5288 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01439, allocations: 0 / 0.5288 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.173e-06/0.01439, allocations: 4 kB / 0.5289 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.0144, allocations: 1.344 kB / 0.5289 GB, free: 9.793 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.0006456/0.01505, allocations: 0.6689 MB / 0.5295 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01508, allocations: 12.03 kB / 0.5295 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006233/0.0157, allocations: 194.7 kB / 0.5297 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.01596, allocations: 242.8 kB / 0.5299 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.01598, allocations: 25.02 kB / 0.53 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.01601, allocations: 32.38 kB / 0.53 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.0164, allocations: 464.9 kB / 0.5304 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.01641, allocations: 4.188 kB / 0.5304 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.01643, allocations: 12.38 kB / 0.5305 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.01647, allocations: 28.58 kB / 0.5305 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.01666, allocations: 141 kB / 0.5306 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.01786, allocations: 1.915 MB / 0.5325 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.01806, allocations: 112.2 kB / 0.5326 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.01819, allocations: 75.62 kB / 0.5327 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.0182, allocations: 2.594 kB / 0.5327 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.01823, allocations: 41.33 kB / 0.5327 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.01823, allocations: 0 / 0.5327 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003312/0.01856, allocations: 159.6 kB / 0.5329 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.01858, allocations: 55.41 kB / 0.5329 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.01898, allocations: 277.7 kB / 0.5332 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.019, allocations: 29.7 kB / 0.5332 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.01909, allocations: 258.9 kB / 0.5334 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.01912, allocations: 55.53 kB / 0.5335 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.01917, allocations: 55.55 kB / 0.5336 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.01928, allocations: 0.4962 MB / 0.534 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.01932, allocations: 28.44 kB / 0.5341 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/0.01941, allocations: 152.8 kB / 0.5342 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.01956, allocations: 189.9 kB / 0.5344 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01956, allocations: 7.406 kB / 0.5344 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002242/0.01978, allocations: 212.8 kB / 0.5346 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.0198, allocations: 7.031 kB / 0.5346 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.0198, allocations: 4 kB / 0.5346 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.01998, allocations: 35.67 kB / 0.5346 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.02008, allocations: 47.91 kB / 0.5347 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007395/0.02082, allocations: 1.755 MB / 0.5364 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.0209, allocations: 23.84 kB / 0.5364 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.02091, allocations: 8 kB / 0.5364 GB, free: 1.504 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 9.096e-05/0.021, allocations: 180.4 kB / 0.5366 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.02103, allocations: 20.75 kB / 0.5366 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.02105, allocations: 21.47 kB / 0.5367 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.02105, allocations: 5.938 kB / 0.5367 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.02106, allocations: 4 kB / 0.5367 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02106, allocations: 3.984 kB / 0.5367 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.02155, allocations: 0.5666 MB / 0.5372 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.02155, allocations: 7.938 kB / 0.5372 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.0216, allocations: 24.5 kB / 0.5372 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.633e-05/0.0217, allocations: 37.56 kB / 0.5373 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.0217, allocations: 4.625 kB / 0.5373 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006485/0.02235, allocations: 1.746 MB / 0.539 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.02236, allocations: 3.984 kB / 0.539 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.02255, allocations: 330.5 kB / 0.5393 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.02259, allocations: 35.77 kB / 0.5393 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.02261, allocations: 4 kB / 0.5394 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.02269, allocations: 17.17 kB / 0.5394 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.02271, allocations: 15.92 kB / 0.5394 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.02272, allocations: 9.219 kB / 0.5394 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.874e-05/0.02281, allocations: 189.5 kB / 0.5396 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02281, allocations: 0 / 0.5396 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000249/0.02306, allocations: 88.67 kB / 0.5397 GB, free: 13.96 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 8.798e-05/0.02315, allocations: 95.97 kB / 0.5397 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005814/0.02373, allocations: 287.2 kB / 0.54 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.02373, allocations: 0 / 0.54 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.02384, allocations: 226 kB / 0.5402 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.02414, allocations: 63.98 kB / 0.5403 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008365/0.02497, allocations: 0.5425 MB / 0.5408 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.267e-05/0.02506, allocations: 108.3 kB / 0.5409 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.02516, allocations: 30.06 kB / 0.541 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.0252, allocations: 21.56 kB / 0.541 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/0.0252, allocations: 0 / 0.541 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.005128/0.03033, allocations: 2.446 MB / 0.5434 GB, free: 10.22 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9728699440602213]