Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009839/0.009839, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 201.1 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.6 MB / 426.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 0.5857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4875, allocations: 81.02 MB / 0.6649 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002263/0.4898, allocations: 1.393 MB / 0.6662 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005692/0.4904, allocations: 295.3 kB / 0.6665 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.4905, allocations: 1.188 kB / 0.6665 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.4905, allocations: 3.984 kB / 0.6665 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.4906, allocations: 5.344 kB / 0.6665 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.4909, allocations: 53.84 kB / 0.6666 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.491, allocations: 30.11 kB / 0.6666 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.4911, allocations: 6.453 kB / 0.6666 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.4911, allocations: 12.67 kB / 0.6666 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.4912, allocations: 6.781 kB / 0.6666 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.4912, allocations: 3.25 kB / 0.6666 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.4914, allocations: 90.31 kB / 0.6667 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.4914, allocations: 13.36 kB / 0.6667 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.4915, allocations: 10.28 kB / 0.6667 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.4916, allocations: 63.83 kB / 0.6668 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4917, allocations: 4 kB / 0.6668 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4917, allocations: 0 / 0.6668 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.4917, allocations: 0 / 0.6668 GB, free: 5.336 MB / 0.4981 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.0004214/0.4921, allocations: 351.4 kB / 0.6671 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4922, allocations: 13.98 kB / 0.6671 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.4922, allocations: 31.94 kB / 0.6672 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.4922, allocations: 2 kB / 0.6672 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.4923, allocations: 165.9 kB / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4923, allocations: 384 / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.4924, allocations: 9.469 kB / 0.6673 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.4925, allocations: 46.08 kB / 0.6674 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4926, allocations: 3.938 kB / 0.6674 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4926, allocations: 13.33 kB / 0.6674 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4926, allocations: 0 / 0.6674 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.4927, allocations: 35.02 kB / 0.6674 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.493, allocations: 248.3 kB / 0.6677 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.4932, allocations: 42.84 kB / 0.6677 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.4933, allocations: 23.77 kB / 0.6677 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.4933, allocations: 3.938 kB / 0.6677 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.4933, allocations: 35.69 kB / 0.6678 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.4933, allocations: 4 kB / 0.6678 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003515/0.4937, allocations: 76.64 kB / 0.6679 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.4937, allocations: 55.34 kB / 0.6679 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.6e-05/0.4938, allocations: 99.86 kB / 0.668 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.4938, allocations: 25.7 kB / 0.668 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.4938, allocations: 85.59 kB / 0.6681 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.4938, allocations: 13.52 kB / 0.6681 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.4939, allocations: 10.97 kB / 0.6681 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.4939, allocations: 311.8 kB / 0.6684 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.494, allocations: 17.48 kB / 0.6684 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.4941, allocations: 17.69 kB / 0.6685 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.4942, allocations: 39.52 kB / 0.6685 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4943, allocations: 3.938 kB / 0.6685 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/0.4944, allocations: 72.69 kB / 0.6686 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4945, allocations: 5.438 kB / 0.6686 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4945, allocations: 0 / 0.6686 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4945, allocations: 0 / 0.6686 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.4946, allocations: 10.17 kB / 0.6686 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4946, allocations: 5.281 kB / 0.6686 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.4946, allocations: 7.469 kB / 0.6686 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.4947, allocations: 0 / 0.6686 GB, free: 3.461 MB / 0.4981 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.801e-05/0.4947, allocations: 112.5 kB / 0.6687 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.4947, allocations: 9.094 kB / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.495, allocations: 70.53 kB / 0.6688 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.495, allocations: 32 / 0.6688 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.495, allocations: 4 kB / 0.6688 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.495, allocations: 1.219 kB / 0.6688 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.4951, allocations: 165.6 kB / 0.6689 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4951, allocations: 3.938 kB / 0.6689 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.4952, allocations: 10.89 kB / 0.669 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4952, allocations: 0 / 0.669 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.4952, allocations: 1.188 kB / 0.669 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4952, allocations: 0 / 0.669 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4952, allocations: 0 / 0.669 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.4954, allocations: 171.3 kB / 0.6691 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.4955, allocations: 78.05 kB / 0.6692 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4955, allocations: 5.328 kB / 0.6692 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.4956, allocations: 6.594 kB / 0.6692 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.4956, allocations: 1.375 kB / 0.6692 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.4956, allocations: 1.281 kB / 0.6692 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.4957, allocations: 90.05 kB / 0.6693 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4957, allocations: 1.312 kB / 0.6693 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002364/0.4959, allocations: 9.531 kB / 0.6693 GB, free: 2.711 MB / 0.4981 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.0004522/0.4964, allocations: 0.7148 MB / 0.67 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.4966, allocations: 33.53 kB / 0.67 GB, free: 2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4966, allocations: 0 / 0.67 GB, free: 2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.4967, allocations: 24.06 kB / 0.6701 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.497, allocations: 5.516 kB / 0.6701 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.4974, allocations: 149.1 kB / 0.6702 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.4975, allocations: 0.6774 MB / 0.6709 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.4975, allocations: 0 / 0.6709 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.4976, allocations: 13.88 kB / 0.6709 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4976, allocations: 0 / 0.6709 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.5207, allocations: 1.483 MB / 0.6723 GB, free: 304 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.289, allocations: 16.89 kB / 0.6723 GB, free: 292 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)