Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.001881/0.001881, allocations: 81.5 kB / 19.18 MB, free: 2.527 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.002493/0.002493, allocations: 168.2 kB / 22.46 MB, free: 5.367 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.537/1.537, 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 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.207/1.207, allocations: 154.6 MB / 413.8 MB, free: 5.227 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.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.114e-05, allocations: 6.281 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002317/0.002348, allocations: 1.265 MB / 0.6198 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5862/0.5885, allocations: 120.9 MB / 0.7379 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.5886, allocations: 1.188 kB / 0.7379 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.5886, allocations: 0 / 0.7379 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.5886, allocations: 8.375 kB / 0.7379 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.5902, allocations: 468 kB / 0.7383 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.5903, allocations: 44 kB / 0.7384 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.5903, allocations: 1.25 kB / 0.7384 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.5904, allocations: 33.55 kB / 0.7384 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.5904, allocations: 16.19 kB / 0.7384 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.5905, allocations: 6.734 kB / 0.7384 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.592, allocations: 0.7937 MB / 0.7392 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.592, allocations: 15.02 kB / 0.7392 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.5921, allocations: 16.19 kB / 0.7392 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.5932, allocations: 0.5627 MB / 0.7398 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5932, allocations: 0 / 0.7398 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5932, allocations: 0 / 0.7398 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.5932, allocations: 0 / 0.7398 GB, free: 7.031 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007291/0.5939, allocations: 298 kB / 0.7401 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.11e-05/0.594, allocations: 10.94 kB / 0.7401 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.5943, allocations: 11.05 kB / 0.7401 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5944, allocations: 113.6 kB / 0.7402 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.5944, allocations: 7.156 kB / 0.7402 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.5944, allocations: 9.891 kB / 0.7402 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.5947, allocations: 132.7 kB / 0.7403 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5947, allocations: 1.094 kB / 0.7403 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.5947, allocations: 6.219 kB / 0.7403 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5948, allocations: 1.156 kB / 0.7403 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.5948, allocations: 18.16 kB / 0.7404 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.595, allocations: 109.5 kB / 0.7405 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.5952, allocations: 49.06 kB / 0.7405 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.5952, allocations: 16.83 kB / 0.7405 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.6077, allocations: 2.869 MB / 0.7433 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/0.6078, allocations: 39.34 kB / 0.7434 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.6078, allocations: 1.438 kB / 0.7434 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.04382/0.6516, allocations: 14.92 MB / 0.7579 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.6517, allocations: 59.42 kB / 0.758 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.6517, allocations: 100 kB / 0.7581 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.6517, allocations: 25.7 kB / 0.7581 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.6517, allocations: 80.14 kB / 0.7582 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.6518, allocations: 43.36 kB / 0.7582 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.6518, allocations: 30.47 kB / 0.7583 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.6519, allocations: 317.5 kB / 0.7586 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.6519, allocations: 25.23 kB / 0.7586 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.652, allocations: 22.5 kB / 0.7586 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.6521, allocations: 63.73 kB / 0.7587 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6521, allocations: 0 / 0.7587 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001994/0.6523, allocations: 106.4 kB / 0.7588 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6523, allocations: 12.97 kB / 0.7588 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.6523, allocations: 0 / 0.7588 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.6523, allocations: 6.922 kB / 0.7588 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.6524, allocations: 22.59 kB / 0.7588 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6525, allocations: 1.203 kB / 0.7588 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.6525, allocations: 3.438 kB / 0.7588 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.6525, allocations: 9.266 kB / 0.7588 GB, free: 2.766 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.6525, allocations: 113.8 kB / 0.7589 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.6526, allocations: 6.781 kB / 0.7589 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.6528, allocations: 135.3 kB / 0.7591 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6528, allocations: 2.938 kB / 0.7591 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6528, allocations: 0 / 0.7591 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6528, allocations: 0 / 0.7591 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.263e-05/0.6529, allocations: 121.6 kB / 0.7592 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6529, allocations: 0 / 0.7592 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.653, allocations: 31.3 kB / 0.7592 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.653, allocations: 0 / 0.7592 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6531, allocations: 9.141 kB / 0.7592 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6531, allocations: 2.406 kB / 0.7592 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6531, allocations: 0 / 0.7592 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.6533, allocations: 153.9 kB / 0.7594 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.6534, allocations: 16.45 kB / 0.7594 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.6534, allocations: 7.25 kB / 0.7594 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.6535, allocations: 11.89 kB / 0.7594 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.6535, allocations: 9.578 kB / 0.7594 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6535, allocations: 10.42 kB / 0.7594 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.563e-05/0.6536, allocations: 79.28 kB / 0.7595 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6536, allocations: 3.281 kB / 0.7595 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001919/0.6555, allocations: 0.5665 MB / 0.7601 GB, free: 2.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00297/0.6584, allocations: 386.8 kB / 0.7604 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.6586, allocations: 59.84 kB / 0.7605 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6586, allocations: 3.938 kB / 0.7605 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-05/0.6587, allocations: 35.27 kB / 0.7605 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.6589, allocations: 9.5 kB / 0.7605 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.6594, allocations: 275.1 kB / 0.7608 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.6594, allocations: 68.59 kB / 0.7609 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.598e-05/0.6595, allocations: 23.39 kB / 0.7609 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.6595, allocations: 23.02 kB / 0.7609 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.6595, allocations: 0 / 0.7609 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of Templates: time 0.03997/0.6995, allocations: 24.29 MB / 0.7846 GB, free: 1.723 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.332921460270882] Failed to read output from testmodel.py, exit status != 0: 0.7090613953769207 0.723175429 0.126936678 Calling exit ...