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.0008461/0.0008461, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008555/0.0008555, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8977/0.8977, allocations: 177.2 MB / 202.8 MB, free: 5.734 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-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 0.7209/0.7209, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.797e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002737/0.002765, allocations: 1.263 MB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4201/0.4228, allocations: 120.9 MB / 0.7374 GB, free: 25.01 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.4229, allocations: 3.938 kB / 0.7374 GB, free: 25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.4229, allocations: 6.562 kB / 0.7374 GB, free: 25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.423, allocations: 1.156 kB / 0.7374 GB, free: 25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.4244, allocations: 479.4 kB / 0.7379 GB, free: 24.83 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.4245, allocations: 38.06 kB / 0.7379 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.4245, allocations: 2.141 kB / 0.7379 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.206e-05/0.4246, allocations: 28.98 kB / 0.7379 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.4247, allocations: 22.48 kB / 0.7379 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.4247, allocations: 2.219 kB / 0.7379 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.426, allocations: 0.7986 MB / 0.7387 GB, free: 24.63 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.426, allocations: 4.188 kB / 0.7387 GB, free: 24.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.4261, allocations: 20.52 kB / 0.7388 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007852/0.4269, allocations: 0.5629 MB / 0.7393 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4269, allocations: 0 / 0.7393 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4269, allocations: 4 kB / 0.7393 GB, free: 24.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4269, allocations: 1.344 kB / 0.7393 GB, free: 24.46 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.000436/0.4273, allocations: 291.9 kB / 0.7396 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4274, allocations: 10.91 kB / 0.7396 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.4274, allocations: 36.61 kB / 0.7396 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.4275, allocations: 14.75 kB / 0.7396 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.865e-05/0.4276, allocations: 107.9 kB / 0.7397 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.4276, allocations: 6.75 kB / 0.7398 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4276, allocations: 3.594 kB / 0.7398 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4278, allocations: 136.1 kB / 0.7399 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4278, allocations: 5.031 kB / 0.7399 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4278, allocations: 0 / 0.7399 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4278, allocations: 1.906 kB / 0.7399 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.406e-05/0.4279, allocations: 18.44 kB / 0.7399 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.428, allocations: 135.9 kB / 0.74 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.993e-05/0.4281, allocations: 51.7 kB / 0.7401 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.4281, allocations: 16.67 kB / 0.7401 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006979/0.4351, allocations: 2.866 MB / 0.7429 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.4352, allocations: 37.31 kB / 0.7429 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.4352, allocations: 0 / 0.7429 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.02624/0.4614, allocations: 14.93 MB / 0.7575 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4614, allocations: 52.66 kB / 0.7576 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.25e-05/0.4615, allocations: 93.56 kB / 0.7577 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.4615, allocations: 29.7 kB / 0.7577 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.819e-06/0.4615, allocations: 81.61 kB / 0.7578 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.4615, allocations: 43.48 kB / 0.7578 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.4616, allocations: 29.86 kB / 0.7578 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.958e-05/0.4616, allocations: 323.2 kB / 0.7581 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.4616, allocations: 27.39 kB / 0.7582 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.4617, allocations: 20.69 kB / 0.7582 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.733e-05/0.4618, allocations: 61.66 kB / 0.7582 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4618, allocations: 1.062 kB / 0.7582 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001506/0.4619, allocations: 111.7 kB / 0.7584 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4619, allocations: 6.172 kB / 0.7584 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4619, allocations: 0 / 0.7584 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.462, allocations: 5.75 kB / 0.7584 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.4621, allocations: 29.48 kB / 0.7584 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4621, allocations: 0.9375 kB / 0.7584 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.4621, allocations: 1.719 kB / 0.7584 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.4621, allocations: 10.56 kB / 0.7584 GB, free: 20.62 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.164e-05/0.4621, allocations: 115.2 kB / 0.7585 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4622, allocations: 7 kB / 0.7585 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.4624, allocations: 133.8 kB / 0.7587 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4624, allocations: 1.312 kB / 0.7587 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4624, allocations: 0 / 0.7587 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4624, allocations: 2.25 kB / 0.7587 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.38e-05/0.4625, allocations: 139.6 kB / 0.7588 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4625, allocations: 5.016 kB / 0.7588 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.985e-05/0.4626, allocations: 22.83 kB / 0.7588 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4626, allocations: 0.9062 kB / 0.7588 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4626, allocations: 7.25 kB / 0.7588 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4626, allocations: 1.344 kB / 0.7588 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4626, allocations: 4 kB / 0.7588 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.4628, allocations: 155.9 kB / 0.759 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.4628, allocations: 17.55 kB / 0.759 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.4628, allocations: 2.531 kB / 0.759 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.4629, allocations: 18.52 kB / 0.759 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.4629, allocations: 6.594 kB / 0.759 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4629, allocations: 10.45 kB / 0.759 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.377e-05/0.463, allocations: 77.09 kB / 0.7591 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.463, allocations: 4.094 kB / 0.7591 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002757/0.4657, allocations: 0.5624 MB / 0.7597 GB, free: 20.01 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.004786/0.4705, allocations: 0.9816 MB / 0.7606 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.4707, allocations: 57.95 kB / 0.7607 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4708, allocations: 1.375 kB / 0.7607 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.4708, allocations: 35.12 kB / 0.7607 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.471, allocations: 6.156 kB / 0.7607 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.4737, allocations: 1.494 MB / 0.7622 GB, free: 18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.826e-05/0.4738, allocations: 71.72 kB / 0.7622 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.711e-05/0.4739, allocations: 24.78 kB / 0.7623 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.4739, allocations: 24.45 kB / 0.7623 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.583e-06/0.4739, allocations: 1.281 kB / 0.7623 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05044/0.5243, allocations: 26.16 MB / 0.7878 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/7.938, allocations: 10.91 kB / 0.7878 GB, free: 5.406 MB / 0.6355 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.579837704077363] Failed to read output from testmodel.py, exit status != 0: 8.024633895605803 8.033864388 7.604463356 Calling exit ...