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.001604/0.001604, allocations: 82.02 kB / 19.18 MB, free: 2.363 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.001836/0.001836, allocations: 173.4 kB / 22.46 MB, free: 4.984 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.393/1.393, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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-531:686: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-531:694: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.194/1.194, allocations: 154.7 MB / 413.9 MB, free: 5.137 MB / 382.1 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 2.174e-06/2.174e-06, allocations: 0 / 0.6187 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.873e-05, allocations: 4.812 kB / 0.6187 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005569/0.005598, allocations: 3.733 MB / 0.6224 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.008608, allocations: 1.694 MB / 0.624 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.008812, allocations: 11.94 kB / 0.624 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.01059, allocations: 493.5 kB / 0.6245 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.01119, allocations: 238.6 kB / 0.6247 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005618/0.01175, allocations: 211.3 kB / 0.6249 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.01231, allocations: 470.4 kB / 0.6254 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.01283, allocations: 293.5 kB / 0.6257 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.01316, allocations: 279.3 kB / 0.6259 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.01355, allocations: 191.4 kB / 0.6261 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.0136, allocations: 28 kB / 0.6261 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.01398, allocations: 231.3 kB / 0.6264 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.01411, allocations: 123.6 kB / 0.6265 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.01426, allocations: 115.8 kB / 0.6266 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.01492, allocations: 0.5179 MB / 0.6271 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01493, allocations: 0 / 0.6271 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.01493, allocations: 0 / 0.6271 GB, free: 12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.01494, allocations: 4 kB / 0.6271 GB, free: 12 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.001145/0.01608, allocations: 0.5635 MB / 0.6276 GB, free: 11.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.01613, allocations: 12.03 kB / 0.6277 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009192/0.01705, allocations: 136.6 kB / 0.6278 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.01746, allocations: 229.2 kB / 0.628 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.0175, allocations: 32.95 kB / 0.628 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.01755, allocations: 32.36 kB / 0.6281 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008192/0.01837, allocations: 0.5747 MB / 0.6286 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.01838, allocations: 192 / 0.6286 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.01842, allocations: 12.38 kB / 0.6286 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/0.01849, allocations: 44.56 kB / 0.6287 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.019, allocations: 318.3 kB / 0.629 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.02095, allocations: 1.505 MB / 0.6305 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.02131, allocations: 162.7 kB / 0.6306 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.02155, allocations: 100.8 kB / 0.6307 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.02157, allocations: 3.984 kB / 0.6307 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.0216, allocations: 38.5 kB / 0.6307 GB, free: 8.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.0216, allocations: 0 / 0.6307 GB, free: 8.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006138/0.02222, allocations: 222.3 kB / 0.631 GB, free: 7.812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.02226, allocations: 55.5 kB / 0.631 GB, free: 7.746 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.02252, allocations: 232 kB / 0.6312 GB, free: 7.512 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.02256, allocations: 29.7 kB / 0.6313 GB, free: 7.477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.0227, allocations: 208.2 kB / 0.6315 GB, free: 7.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.02275, allocations: 51.59 kB / 0.6315 GB, free: 7.219 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.02284, allocations: 49.89 kB / 0.6316 GB, free: 7.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.02299, allocations: 330.8 kB / 0.6319 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.0231, allocations: 52.44 kB / 0.6319 GB, free: 6.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.02329, allocations: 152.6 kB / 0.6321 GB, free: 6.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.02361, allocations: 226 kB / 0.6323 GB, free: 6.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.02361, allocations: 0 / 0.6323 GB, free: 6.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004502/0.02406, allocations: 258.1 kB / 0.6325 GB, free: 6.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.02408, allocations: 4 kB / 0.6325 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.0241, allocations: 4 kB / 0.6325 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.0243, allocations: 29.22 kB / 0.6326 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.02449, allocations: 51.91 kB / 0.6326 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.02578, allocations: 1.299 MB / 0.6339 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.02595, allocations: 23.84 kB / 0.6339 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.02597, allocations: 8 kB / 0.6339 GB, free: 4.551 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.0002105/0.02618, allocations: 175.7 kB / 0.6341 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.02623, allocations: 23.86 kB / 0.6341 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.02628, allocations: 29.44 kB / 0.6341 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.02628, allocations: 7.938 kB / 0.6341 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02629, allocations: 0 / 0.6341 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.02629, allocations: 0 / 0.6341 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009311/0.02722, allocations: 0.5467 MB / 0.6347 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.02723, allocations: 8.188 kB / 0.6347 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.026e-05/0.02732, allocations: 27.92 kB / 0.6347 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.334e-05/0.0274, allocations: 20.84 kB / 0.6347 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.02741, allocations: 8 kB / 0.6347 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.02851, allocations: 1.288 MB / 0.636 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02851, allocations: 4.156 kB / 0.636 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.02891, allocations: 309.2 kB / 0.6363 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.02899, allocations: 35.77 kB / 0.6363 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.02902, allocations: 7.984 kB / 0.6363 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.02918, allocations: 8.094 kB / 0.6363 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.02921, allocations: 23.86 kB / 0.6364 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.02922, allocations: 4 kB / 0.6364 GB, free: 1.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001678/0.02939, allocations: 161.6 kB / 0.6365 GB, free: 1.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.02939, allocations: 8 kB / 0.6365 GB, free: 1.664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004738/0.02987, allocations: 79.8 kB / 0.6366 GB, free: 1.586 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.0001376/0.03, allocations: 104.6 kB / 0.6367 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005048/0.03051, allocations: 267 kB / 0.637 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.03051, allocations: 0 / 0.637 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.03074, allocations: 182.7 kB / 0.6371 GB, free: 1.016 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.03124, allocations: 54.36 kB / 0.6372 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.03225, allocations: 0.5341 MB / 0.6377 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.03249, allocations: 174.1 kB / 0.6379 GB, free: 200 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.03263, allocations: 41.91 kB / 0.6379 GB, free: 156 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.03268, allocations: 20.5 kB / 0.6379 GB, free: 136 kB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.03268, allocations: 7.938 kB / 0.6379 GB, free: 128 kB / 0.545 GB Notification: Performance of Templates: time 0.00691/0.03959, allocations: 2.447 MB / 0.6403 GB, free: 13.76 MB / 0.5606 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.628519348800182] Failed to read output from testmodel.py, exit status != 0: 0.04895404726266861 0.06326895 0.045322219000000004 Calling exit ...