Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001137/0.001137, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0009051/0.0009051, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9165/0.9165, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7041/0.7041, allocations: 154.6 MB / 413.8 MB, free: 0.8203 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.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.679e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002058/0.002074, allocations: 1.521 MB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003407/0.002415, allocations: 123.5 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.002472, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.002509, allocations: 7.922 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.002577, allocations: 7.875 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.002895, allocations: 67.83 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.002998, allocations: 63.84 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003106, allocations: 11.98 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.932e-05/0.003175, allocations: 31.97 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.003226, allocations: 19.91 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.003252, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.003264, allocations: 8 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.003284, allocations: 11.92 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.003311, allocations: 23.92 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.003413, allocations: 59.84 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.003416, allocations: 7.984 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003417, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.003421, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004016/0.003823, allocations: 294.2 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.003862, allocations: 11.97 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.003899, allocations: 34.75 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.003929, allocations: 4.938 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.004005, allocations: 117.7 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.004074, allocations: 59.97 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.004082, allocations: 4.375 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.004239, allocations: 103.9 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004245, allocations: 192 / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.004255, allocations: 384 / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.004261, allocations: 3.938 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.004353, allocations: 43.95 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.004764, allocations: 279.8 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.587e-05/0.004849, allocations: 58.41 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.004897, allocations: 24.94 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.004908, allocations: 4 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.004929, allocations: 34.56 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.00493, allocations: 0 / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002212/0.005151, allocations: 101.6 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.00518, allocations: 55.34 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.846e-05/0.005238, allocations: 109.8 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.005249, allocations: 25.7 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.005291, allocations: 92.09 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.005303, allocations: 15.83 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.00533, allocations: 17.72 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.0054, allocations: 314.8 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.005446, allocations: 27.97 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.005494, allocations: 33.7 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.005581, allocations: 53.67 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.005584, allocations: 3.938 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001131/0.005697, allocations: 85.59 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.005709, allocations: 12.03 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.005716, allocations: 0 / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.005726, allocations: 0 / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.005792, allocations: 15.98 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.005796, allocations: 0 / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.005824, allocations: 12.05 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.005828, allocations: 7.938 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 8.824e-05/0.005917, allocations: 122.7 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.005933, allocations: 7.953 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.005956, allocations: 12 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005957, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.005961, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005963, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.006074, allocations: 148.7 kB / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006075, allocations: 0 / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.006111, allocations: 8 kB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006113, allocations: 0 / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.006121, allocations: 7.984 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006122, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006123, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.006261, allocations: 183.3 kB / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.006266, allocations: 0 / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.006276, allocations: 4 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.006334, allocations: 11.98 kB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.006369, allocations: 3.984 kB / 0.6224 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.006375, allocations: 4.281 kB / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.006408, allocations: 87.27 kB / 0.6225 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006408, allocations: 0 / 0.6225 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001482/0.006557, allocations: 12 kB / 0.6225 GB, free: 8.809 MB / 0.5886 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 (4): * Single equations (assignments): 4 * 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.0003139/0.006871, allocations: 0.7085 MB / 0.6232 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.007011, allocations: 51.89 kB / 0.6233 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007012, allocations: 0 / 0.6233 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.007055, allocations: 27.97 kB / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.007249, allocations: 14.42 kB / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009462/0.008196, allocations: 1.333 MB / 0.6246 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.008243, allocations: 67.34 kB / 0.6247 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.008273, allocations: 8 kB / 0.6247 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.008313, allocations: 12.5 kB / 0.6247 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.008313, allocations: 0 / 0.6247 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.02233, allocations: 2.473 MB / 0.6271 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/7.021, allocations: 5.781 kB / 0.6271 GB, free: 4.145 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.677569331601262] Failed to read output from testmodel.py, exit status != 0: 7.100255129858851 7.11091494 7.105624905 Calling exit ...