Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009573/0.0009573, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001046/0.001046, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9691/0.9691, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.7469/0.7469, allocations: 154.6 MB / 413.7 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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.523e-05, allocations: 3.156 kB / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002424/0.002459, allocations: 1.273 MB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4401/0.4425, allocations: 120.9 MB / 0.7373 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.4426, allocations: 0 / 0.7373 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.4426, allocations: 0 / 0.7373 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.4426, allocations: 5.156 kB / 0.7373 GB, free: 25.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.444, allocations: 461.2 kB / 0.7378 GB, free: 25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.4441, allocations: 50.38 kB / 0.7378 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.4441, allocations: 3.141 kB / 0.7378 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.4442, allocations: 31.14 kB / 0.7379 GB, free: 24.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.4442, allocations: 11.97 kB / 0.7379 GB, free: 24.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.4442, allocations: 2.406 kB / 0.7379 GB, free: 24.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.4457, allocations: 0.8011 MB / 0.7387 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.4457, allocations: 8.375 kB / 0.7387 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.4457, allocations: 17.03 kB / 0.7387 GB, free: 24.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008874/0.4466, allocations: 0.5628 MB / 0.7392 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4466, allocations: 0 / 0.7392 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4466, allocations: 1.25 kB / 0.7392 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4466, allocations: 0 / 0.7392 GB, free: 24.62 MB / 0.6355 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.0006613/0.4473, allocations: 300.8 kB / 0.7395 GB, free: 24.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.4474, allocations: 11.53 kB / 0.7395 GB, free: 24.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.4474, allocations: 37.44 kB / 0.7396 GB, free: 24.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.4475, allocations: 14.25 kB / 0.7396 GB, free: 24.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.819e-05/0.4476, allocations: 104.7 kB / 0.7397 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4476, allocations: 1.531 kB / 0.7397 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4476, allocations: 8.484 kB / 0.7397 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.4478, allocations: 131.6 kB / 0.7398 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4478, allocations: 5.094 kB / 0.7398 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4478, allocations: 0 / 0.7398 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4478, allocations: 5.094 kB / 0.7398 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.4479, allocations: 27.16 kB / 0.7399 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.4481, allocations: 132.8 kB / 0.74 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.4482, allocations: 50.11 kB / 0.74 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.4482, allocations: 17.25 kB / 0.74 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006721/0.4549, allocations: 2.867 MB / 0.7428 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.455, allocations: 32.06 kB / 0.7429 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.455, allocations: 1.344 kB / 0.7429 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.02814/0.4831, allocations: 14.92 MB / 0.7575 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.4831, allocations: 61.02 kB / 0.7575 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.703e-05/0.4832, allocations: 93.06 kB / 0.7576 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.4832, allocations: 26.89 kB / 0.7576 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.009e-05/0.4832, allocations: 84.8 kB / 0.7577 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.4832, allocations: 39.5 kB / 0.7577 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.4833, allocations: 31.06 kB / 0.7578 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.4833, allocations: 322.6 kB / 0.7581 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.4833, allocations: 23.81 kB / 0.7581 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.4834, allocations: 24.59 kB / 0.7581 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.198e-05/0.4834, allocations: 57.47 kB / 0.7582 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4834, allocations: 0 / 0.7582 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001579/0.4836, allocations: 116.8 kB / 0.7583 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4836, allocations: 5.938 kB / 0.7583 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4836, allocations: 0.5156 kB / 0.7583 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4836, allocations: 1.688 kB / 0.7583 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.4837, allocations: 22.91 kB / 0.7583 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4838, allocations: 0 / 0.7583 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.4838, allocations: 9 kB / 0.7583 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4838, allocations: 4.609 kB / 0.7583 GB, free: 20.78 MB / 0.6355 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.611e-05/0.4838, allocations: 114.9 kB / 0.7584 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.4839, allocations: 7.156 kB / 0.7585 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.4841, allocations: 129.4 kB / 0.7586 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4841, allocations: 1.469 kB / 0.7586 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4841, allocations: 4 kB / 0.7586 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4841, allocations: 0.6562 kB / 0.7586 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.379e-05/0.4842, allocations: 145.4 kB / 0.7587 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.4842, allocations: 3.938 kB / 0.7587 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.4843, allocations: 24.3 kB / 0.7587 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4843, allocations: 0 / 0.7587 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4843, allocations: 6.281 kB / 0.7588 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4843, allocations: 1.016 kB / 0.7588 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4843, allocations: 9.016 kB / 0.7588 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.4845, allocations: 159.8 kB / 0.7589 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.4846, allocations: 21.52 kB / 0.7589 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.4846, allocations: 6.406 kB / 0.7589 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.4847, allocations: 14.53 kB / 0.759 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.4847, allocations: 7.156 kB / 0.759 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.4847, allocations: 4.125 kB / 0.759 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.702e-05/0.4847, allocations: 78.09 kB / 0.759 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4847, allocations: 0 / 0.759 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002176/0.4869, allocations: 0.5675 MB / 0.7596 GB, free: 20.16 MB / 0.6355 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.002514/0.4894, allocations: 0.9747 MB / 0.7605 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.4896, allocations: 69.88 kB / 0.7606 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4896, allocations: 1.406 kB / 0.7606 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.4896, allocations: 25.42 kB / 0.7606 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.4898, allocations: 10.59 kB / 0.7607 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.4914, allocations: 1.486 MB / 0.7621 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.209e-05/0.4914, allocations: 73.17 kB / 0.7622 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.918e-05/0.4915, allocations: 23.41 kB / 0.7622 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.4915, allocations: 24.83 kB / 0.7622 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.4915, allocations: 1.375 kB / 0.7622 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04823/0.5398, allocations: 26.18 MB / 0.7878 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/7.912, allocations: 3.562 kB / 0.7878 GB, free: 5.621 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.759765080176294] Failed to read output from testmodel.py, exit status != 0: 8.002168914303184 8.010432647 7.561866456 Calling exit ...