Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.0008579/0.0008579, 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.001063/0.001063, 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.9088/0.9088, allocations: 177.2 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.7121/0.7121, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.SublimationPressureIce,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.201e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002086/0.002109, allocations: 1.44 MB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004748/0.002583, allocations: 259.1 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.002614, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.002641, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.146e-05/0.002693, allocations: 7.922 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.003015, allocations: 67.67 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.003083, allocations: 23.92 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.003181, allocations: 7.938 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.003228, allocations: 11.98 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.003269, allocations: 11.98 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.003283, allocations: 7.938 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.003424, allocations: 79.78 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.003439, allocations: 8 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.003456, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.003598, allocations: 75.72 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.0036, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003602, allocations: 4 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.003606, allocations: 0 / 0.62 GB, free: 11.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003521/0.003958, allocations: 274.2 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.003995, allocations: 8.031 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.004026, allocations: 34.73 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.004048, allocations: 4.938 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.398e-05/0.004122, allocations: 105.8 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.004132, allocations: 384 / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-06/0.004139, allocations: 4.375 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.004271, allocations: 54.23 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.004277, allocations: 192 / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004286, allocations: 4.312 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.004292, allocations: 4.125 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.088e-05/0.004383, allocations: 35.95 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.004662, allocations: 216 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.004757, allocations: 38.55 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.0048, allocations: 20.91 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.00482, allocations: 0 / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.004841, allocations: 42.44 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004842, allocations: 0 / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002236/0.005066, allocations: 81.64 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.005092, allocations: 51.41 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.005149, allocations: 101.8 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.005162, allocations: 33.81 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.005198, allocations: 84.14 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.005216, allocations: 7.953 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.005242, allocations: 9.719 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.005322, allocations: 314.8 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.005367, allocations: 15.98 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.005406, allocations: 19.91 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.005485, allocations: 40.89 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005487, allocations: 7.875 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001068/0.005594, allocations: 73.59 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.005606, allocations: 4 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.00561, allocations: 0 / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.005623, allocations: 0 / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.005689, allocations: 11.98 kB / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.005696, allocations: 4.031 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.005719, allocations: 4 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.005724, allocations: 0 / 0.6217 GB, free: 9.828 MB / 0.5886 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 (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 prepare postOptimizeDAE: time 5.973e-05/0.005783, allocations: 114.8 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.005798, allocations: 11.83 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.005937, allocations: 72.92 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.005939, allocations: 4 kB / 0.6219 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.005943, allocations: 0 / 0.6219 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005947, allocations: 4.031 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.00606, allocations: 124.8 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006061, allocations: 0 / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.006091, allocations: 11.98 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.006094, allocations: 3.938 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.006101, allocations: 4 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006103, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.006105, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.006238, allocations: 163.5 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.006247, allocations: 7.938 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.006256, allocations: 0 / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.006294, allocations: 11.98 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.006325, allocations: 0 / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.006328, allocations: 0 / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.608e-05/0.006354, allocations: 79.28 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006354, allocations: 0 / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001739/0.006528, allocations: 15.94 kB / 0.6223 GB, free: 9.137 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 (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.0003787/0.006906, allocations: 0.7084 MB / 0.623 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.007032, allocations: 43.89 kB / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007033, allocations: 0 / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/0.007071, allocations: 15.98 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.007301, allocations: 8.094 kB / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.007655, allocations: 138.6 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.007699, allocations: 63.34 kB / 0.6232 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.007719, allocations: 3.938 kB / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.007752, allocations: 16.48 kB / 0.6232 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.007752, allocations: 3.938 kB / 0.6232 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.0259, allocations: 2.132 MB / 0.6253 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/6.757, allocations: 13.14 kB / 0.6253 GB, free: 6.055 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.421315027400851] Failed to read output from testmodel.py, exit status != 0: 6.836165312677622 6.846466013 6.841020606 Calling exit ...