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.0007291/0.0007291, 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.000745/0.000745, allocations: 165.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.9116/0.9116, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6966/0.6966, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.372e-06/1.372e-06, allocations: 0 / 0.6181 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.188e-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.001734/0.001756, allocations: 1.292 MB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3847/0.3865, allocations: 129.7 MB / 0.746 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.3865, allocations: 1.531 kB / 0.746 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.3866, allocations: 0 / 0.746 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.3866, allocations: 5.109 kB / 0.746 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.3871, allocations: 127.2 kB / 0.7461 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.731e-05/0.3872, allocations: 25.33 kB / 0.7461 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.3872, allocations: 2.938 kB / 0.7461 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.3873, allocations: 10.97 kB / 0.7462 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.3873, allocations: 8.016 kB / 0.7462 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3873, allocations: 1.062 kB / 0.7462 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.3877, allocations: 164.8 kB / 0.7463 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.3877, allocations: 7.984 kB / 0.7463 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.3877, allocations: 9.359 kB / 0.7463 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.3879, allocations: 123.5 kB / 0.7465 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3879, allocations: 4 kB / 0.7465 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3879, allocations: 0 / 0.7465 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3879, allocations: 0 / 0.7465 GB, free: 19.17 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.0002525/0.3882, allocations: 282.7 kB / 0.7467 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3882, allocations: 9.5 kB / 0.7467 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.233e-05/0.3883, allocations: 35.34 kB / 0.7468 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.3886, allocations: 38.73 kB / 0.7468 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.912e-05/0.3887, allocations: 107.7 kB / 0.7469 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3887, allocations: 9.484 kB / 0.7469 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.3887, allocations: 1.531 kB / 0.7469 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3888, allocations: 48.48 kB / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.3888, allocations: 1.094 kB / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3889, allocations: 0 / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3889, allocations: 1.094 kB / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.3889, allocations: 20.73 kB / 0.747 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.3892, allocations: 225.8 kB / 0.7472 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.897e-05/0.3892, allocations: 24.5 kB / 0.7472 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.3892, allocations: 9 kB / 0.7472 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.3893, allocations: 1.188 kB / 0.7472 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3893, allocations: 36.38 kB / 0.7473 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.3893, allocations: 0 / 0.7473 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001317/0.3894, allocations: 47.47 kB / 0.7473 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.3894, allocations: 51.41 kB / 0.7474 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.3895, allocations: 114.3 kB / 0.7475 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.3895, allocations: 25.7 kB / 0.7475 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.3895, allocations: 89.78 kB / 0.7476 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/0.3895, allocations: 9.641 kB / 0.7476 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.3896, allocations: 18.52 kB / 0.7476 GB, free: 18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.3896, allocations: 324.6 kB / 0.7479 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.3896, allocations: 8.953 kB / 0.7479 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.3897, allocations: 9.25 kB / 0.7479 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.687e-05/0.3897, allocations: 26.22 kB / 0.748 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3897, allocations: 0 / 0.748 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001118/0.3899, allocations: 61.22 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3899, allocations: 5.312 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3899, allocations: 0 / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3899, allocations: 1.594 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.39, allocations: 9.344 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.39, allocations: 5.062 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.39, allocations: 7.406 kB / 0.748 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.39, allocations: 1.906 kB / 0.748 GB, free: 17.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 (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.457e-05/0.3901, allocations: 121.8 kB / 0.7482 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.3901, allocations: 5.75 kB / 0.7482 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.3901, allocations: 8.406 kB / 0.7482 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3901, allocations: 336 / 0.7482 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3901, allocations: 1.75 kB / 0.7482 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3901, allocations: 4 kB / 0.7482 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.054e-05/0.3902, allocations: 130.2 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3902, allocations: 1.734 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.3902, allocations: 2.188 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3902, allocations: 1.734 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.3902, allocations: 3.5 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3902, allocations: 1.125 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3902, allocations: 4.641 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.759e-05/0.3903, allocations: 137 kB / 0.7485 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.3903, allocations: 1.75 kB / 0.7485 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3903, allocations: 5.797 kB / 0.7485 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.3904, allocations: 6.641 kB / 0.7485 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.3904, allocations: 1.406 kB / 0.7485 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.3904, allocations: 1.062 kB / 0.7485 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.3904, allocations: 91.78 kB / 0.7486 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3904, allocations: 0 / 0.7486 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001701/0.3906, allocations: 16.81 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.0002258/0.3908, allocations: 0.6809 MB / 0.7492 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.755e-05/0.3909, allocations: 19.61 kB / 0.7493 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3909, allocations: 0 / 0.7493 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.142e-06/0.3909, allocations: 4.844 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.0002645/0.3912, allocations: 11.94 kB / 0.7493 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.3915, allocations: 156.4 kB / 0.7494 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.3916, allocations: 63.7 kB / 0.7495 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.3916, allocations: 6.859 kB / 0.7495 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.3916, allocations: 12.06 kB / 0.7495 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/0.3916, allocations: 3.938 kB / 0.7495 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.4086, allocations: 2.286 MB / 0.7517 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/7.36, allocations: 6.25 kB / 0.7517 GB, free: 15.28 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.001866147853434] Failed to read output from testmodel.py, exit status != 0: 7.439985932782292 7.4521916599999996 7.061929829 Calling exit ...