Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001472/0.001472, 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.001839/0.001839, 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.9298/0.9298, 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 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.7395/0.7395, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.523e-05, allocations: 6.359 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002313/0.002339, allocations: 1.667 MB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005764/0.002915, allocations: 382.7 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.002986, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.869e-05/0.003085, allocations: 11.86 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.24e-05/0.003127, allocations: 19.8 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.003502, allocations: 130.8 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.003636, allocations: 111.5 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.003762, allocations: 27.95 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.003839, allocations: 63.88 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.003892, allocations: 27.91 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.003911, allocations: 8 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.004003, allocations: 59.89 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.004027, allocations: 23.91 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.004056, allocations: 27.97 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.004237, allocations: 143.6 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004239, allocations: 0 / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.71e-07/0.00424, allocations: 0 / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.004244, allocations: 0 / 0.6206 GB, free: 11.06 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004428/0.004686, allocations: 345.8 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.004723, allocations: 13.47 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.004758, allocations: 38.69 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.004901, allocations: 28.86 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.005095, allocations: 145.6 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.005154, allocations: 55.97 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.005166, allocations: 8.375 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.005348, allocations: 135.9 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.005355, allocations: 192 / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.005366, allocations: 384 / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.005372, allocations: 3.938 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.005514, allocations: 91.78 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.005975, allocations: 343.5 kB / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.006275, allocations: 122.5 kB / 0.6219 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.621e-05/0.006341, allocations: 40.88 kB / 0.622 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.006352, allocations: 4 kB / 0.622 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.006371, allocations: 34.56 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.031e-06/0.006372, allocations: 0 / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002642/0.006636, allocations: 137.5 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.006662, allocations: 55.34 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.00674, allocations: 135.7 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.006754, allocations: 25.7 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.006795, allocations: 100.2 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.006814, allocations: 35.73 kB / 0.6225 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.006845, allocations: 17.72 kB / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.006921, allocations: 322.8 kB / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.006977, allocations: 31.97 kB / 0.6228 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.136e-05/0.007039, allocations: 41.7 kB / 0.6229 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.007152, allocations: 82.08 kB / 0.6229 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.007154, allocations: 4 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001429/0.007297, allocations: 109.6 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.00731, allocations: 8 kB / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007314, allocations: 0 / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.007326, allocations: 0 / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.007383, allocations: 19.92 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007387, allocations: 4 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.007427, allocations: 15.88 kB / 0.6231 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.007431, allocations: 4.031 kB / 0.6231 GB, free: 8.328 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 (8): * Single equations (assignments): 8 * 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 6.011e-05/0.007491, allocations: 114.8 kB / 0.6232 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.00751, allocations: 15.95 kB / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.007538, allocations: 12.77 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.00754, allocations: 0 / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.007544, allocations: 4 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.007549, allocations: 7.938 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.007679, allocations: 160.7 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.00768, allocations: 0 / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.007723, allocations: 19.92 kB / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.007725, allocations: 11.94 kB / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.007731, allocations: 0 / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007732, allocations: 0 / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007733, allocations: 0 / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.007892, allocations: 203.4 kB / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.007904, allocations: 7.953 kB / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.007915, allocations: 0 / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.007988, allocations: 15.98 kB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.008019, allocations: 7.984 kB / 0.6236 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.008028, allocations: 7.938 kB / 0.6237 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.008074, allocations: 105.6 kB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008074, allocations: 0 / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001549/0.008229, allocations: 20 kB / 0.6238 GB, free: 7.555 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 (7): * Single equations (assignments): 7 * 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.0003617/0.00859, allocations: 0.7319 MB / 0.6245 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.008745, allocations: 79.83 kB / 0.6246 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.008748, allocations: 4 kB / 0.6246 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.319e-05/0.008801, allocations: 31.97 kB / 0.6246 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.009033, allocations: 31.91 kB / 0.6246 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.01022, allocations: 1.55 MB / 0.6261 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.372e-05/0.01027, allocations: 79.19 kB / 0.6262 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.112e-05/0.01032, allocations: 16.72 kB / 0.6262 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.01037, allocations: 24.5 kB / 0.6263 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.01037, allocations: 0 / 0.6263 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.02631, allocations: 3.528 MB / 0.6297 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.02, allocations: 10.62 kB / 0.6297 GB, free: 1.531 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.815343433991075] Failed to read output from testmodel.py, exit status != 0: 7.100341928191483 7.108862802 7.102893599 Calling exit ...