Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001185/0.001185, 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.001322/0.001322, allocations: 169.9 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.9402/0.9402, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.729/0.729, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.07e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001897/0.001917, allocations: 1.307 MB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4311/0.433, allocations: 129.7 MB / 0.746 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.433, allocations: 0 / 0.746 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.4331, allocations: 5.891 kB / 0.746 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-05/0.4331, allocations: 5.438 kB / 0.746 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.4336, allocations: 121.7 kB / 0.7461 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.565e-05/0.4336, allocations: 23.56 kB / 0.7461 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.4337, allocations: 2.125 kB / 0.7461 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.4337, allocations: 11.75 kB / 0.7462 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.4338, allocations: 11.45 kB / 0.7462 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.4338, allocations: 1.375 kB / 0.7462 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.4342, allocations: 164.6 kB / 0.7463 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.4342, allocations: 3.984 kB / 0.7463 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.4342, allocations: 9.203 kB / 0.7463 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.4344, allocations: 126.9 kB / 0.7465 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4344, allocations: 5.156 kB / 0.7465 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4344, allocations: 0 / 0.7465 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.4344, allocations: 4 kB / 0.7465 GB, free: 19.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002706/0.4347, allocations: 274.3 kB / 0.7467 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4348, allocations: 9.5 kB / 0.7467 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.535e-05/0.4348, allocations: 35.45 kB / 0.7468 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004348/0.4352, allocations: 38.19 kB / 0.7468 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.698e-05/0.4353, allocations: 108.5 kB / 0.7469 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4353, allocations: 5.875 kB / 0.7469 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4353, allocations: 1.75 kB / 0.7469 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.4355, allocations: 51.22 kB / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4355, allocations: 1.984 kB / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4355, allocations: 0 / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4355, allocations: 0 / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.4356, allocations: 24.16 kB / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.4359, allocations: 226.9 kB / 0.7472 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.4359, allocations: 20.3 kB / 0.7472 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.436, allocations: 9.406 kB / 0.7472 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.587e-06/0.436, allocations: 0 / 0.7472 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.436, allocations: 41.27 kB / 0.7473 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.436, allocations: 0 / 0.7473 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001497/0.4362, allocations: 46.25 kB / 0.7473 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.4362, allocations: 52.72 kB / 0.7474 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.4363, allocations: 117.2 kB / 0.7475 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-06/0.4363, allocations: 27.2 kB / 0.7475 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.4363, allocations: 84.61 kB / 0.7476 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.4363, allocations: 10.03 kB / 0.7476 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.4364, allocations: 22.39 kB / 0.7476 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.899e-05/0.4364, allocations: 316.9 kB / 0.7479 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.4364, allocations: 9.891 kB / 0.7479 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.4365, allocations: 12.48 kB / 0.7479 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.024e-05/0.4365, allocations: 30.56 kB / 0.748 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4365, allocations: 0 / 0.748 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001194/0.4366, allocations: 52.58 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4367, allocations: 6.016 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4367, allocations: 1.094 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4367, allocations: 0 / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.4368, allocations: 14.16 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4368, allocations: 0 / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.4368, allocations: 12.02 kB / 0.7481 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4368, allocations: 4.156 kB / 0.7481 GB, free: 17.61 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 (3): * Single equations (assignments): 3 * 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 4.184e-05/0.4369, allocations: 111.9 kB / 0.7482 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.4369, allocations: 4.953 kB / 0.7482 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.4369, allocations: 17.31 kB / 0.7482 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4369, allocations: 0 / 0.7482 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4369, allocations: 1.562 kB / 0.7482 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4369, allocations: 0.75 kB / 0.7482 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.701e-05/0.437, allocations: 121.8 kB / 0.7483 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.437, allocations: 8.906 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.437, allocations: 4.891 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.437, allocations: 0.9688 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.437, allocations: 4.422 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.437, allocations: 1.156 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.437, allocations: 0 / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.271e-05/0.4371, allocations: 136.2 kB / 0.7485 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.4371, allocations: 2.844 kB / 0.7485 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.4371, allocations: 1.703 kB / 0.7485 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.256e-05/0.4372, allocations: 11.14 kB / 0.7485 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.4372, allocations: 1.125 kB / 0.7485 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.4372, allocations: 1.219 kB / 0.7485 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.4373, allocations: 87.67 kB / 0.7486 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4373, allocations: 0 / 0.7486 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001832/0.4375, allocations: 19.88 kB / 0.7486 GB, free: 17.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002715/0.4377, allocations: 0.6777 MB / 0.7492 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.4378, allocations: 20.52 kB / 0.7493 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4378, allocations: 0 / 0.7493 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.106e-06/0.4379, allocations: 11.34 kB / 0.7493 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.4381, allocations: 8.344 kB / 0.7493 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.4385, allocations: 151.8 kB / 0.7494 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.4385, allocations: 58.86 kB / 0.7495 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.4386, allocations: 8.047 kB / 0.7495 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.4386, allocations: 16.31 kB / 0.7495 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.4386, allocations: 0 / 0.7495 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.4576, allocations: 2.276 MB / 0.7517 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.313, allocations: 11.5 kB / 0.7517 GB, free: 15.29 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.260500549338758] Failed to read output from testmodel.py, exit status != 0: 7.39360332954675 7.402326815 6.96585945 Calling exit ...