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.005801/0.005801, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001306/0.001306, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.89 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4913, allocations: 80.9 MB / 0.6641 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002048/0.4934, allocations: 1.419 MB / 0.6655 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005174/0.494, allocations: 284 kB / 0.6658 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.494, allocations: 0 / 0.6658 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.494, allocations: 3.938 kB / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/0.4941, allocations: 9.297 kB / 0.6658 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.4944, allocations: 58.84 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.4945, allocations: 25.36 kB / 0.6659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.4946, allocations: 6.922 kB / 0.6659 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.4946, allocations: 12.05 kB / 0.6659 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.4947, allocations: 7.188 kB / 0.6659 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.4947, allocations: 2.188 kB / 0.6659 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.4949, allocations: 91.72 kB / 0.666 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.4949, allocations: 5.125 kB / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.4949, allocations: 14.92 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.4951, allocations: 68.11 kB / 0.6661 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4951, allocations: 0 / 0.6661 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4951, allocations: 0 / 0.6661 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4951, allocations: 1.062 kB / 0.6661 GB, free: 5.77 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.0003861/0.4955, allocations: 349.6 kB / 0.6664 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4955, allocations: 9.562 kB / 0.6664 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.62e-05/0.4956, allocations: 36.33 kB / 0.6665 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.4956, allocations: 4.844 kB / 0.6665 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.342e-05/0.4957, allocations: 162.9 kB / 0.6666 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.4957, allocations: 4.375 kB / 0.6666 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.4957, allocations: 5.5 kB / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.4959, allocations: 49.7 kB / 0.6667 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4959, allocations: 3.938 kB / 0.6667 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4959, allocations: 5.75 kB / 0.6667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4959, allocations: 0 / 0.6667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.4961, allocations: 34.02 kB / 0.6667 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.4964, allocations: 245.6 kB / 0.667 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.4965, allocations: 38.91 kB / 0.667 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.4966, allocations: 26.23 kB / 0.667 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.4966, allocations: 9.312 kB / 0.667 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.4966, allocations: 38.56 kB / 0.6671 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.4966, allocations: 0 / 0.6671 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003333/0.497, allocations: 77.05 kB / 0.6671 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.497, allocations: 52.75 kB / 0.6672 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.4971, allocations: 99.08 kB / 0.6673 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/0.4971, allocations: 25.7 kB / 0.6673 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.4971, allocations: 89.23 kB / 0.6674 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.4971, allocations: 12.89 kB / 0.6674 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.4971, allocations: 11.22 kB / 0.6674 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.4972, allocations: 312.4 kB / 0.6677 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.4973, allocations: 16.64 kB / 0.6677 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.4974, allocations: 21.38 kB / 0.6677 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.4975, allocations: 40.33 kB / 0.6678 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4975, allocations: 3.938 kB / 0.6678 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001852/0.4977, allocations: 72.78 kB / 0.6679 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4977, allocations: 4.938 kB / 0.6679 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4977, allocations: 0 / 0.6679 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4978, allocations: 1.5 kB / 0.6679 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.4978, allocations: 9.312 kB / 0.6679 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4979, allocations: 3.984 kB / 0.6679 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.4979, allocations: 7.844 kB / 0.6679 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.4979, allocations: 1.406 kB / 0.6679 GB, free: 3.898 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.182e-05/0.498, allocations: 115 kB / 0.668 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.498, allocations: 1.188 kB / 0.668 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.4982, allocations: 78.27 kB / 0.6681 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4982, allocations: 5.609 kB / 0.6681 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4982, allocations: 0 / 0.6681 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4982, allocations: 0 / 0.6681 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.4983, allocations: 162.5 kB / 0.6682 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4984, allocations: 0 / 0.6682 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.4984, allocations: 10.64 kB / 0.6682 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4984, allocations: 0 / 0.6682 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.4984, allocations: 0 / 0.6682 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4984, allocations: 0.625 kB / 0.6682 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4984, allocations: 5.109 kB / 0.6682 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.4986, allocations: 174.5 kB / 0.6684 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.4987, allocations: 82.08 kB / 0.6685 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.4987, allocations: 1.531 kB / 0.6685 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.4988, allocations: 6.734 kB / 0.6685 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.4988, allocations: 1.438 kB / 0.6685 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.4988, allocations: 9.25 kB / 0.6685 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.913e-05/0.4988, allocations: 85.95 kB / 0.6686 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4988, allocations: 0 / 0.6686 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002192/0.4991, allocations: 10.19 kB / 0.6686 GB, free: 3.141 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.0003959/0.4995, allocations: 0.7134 MB / 0.6693 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.4997, allocations: 32.94 kB / 0.6693 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4997, allocations: 0 / 0.6693 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.4998, allocations: 15.92 kB / 0.6693 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.5, allocations: 9.703 kB / 0.6694 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.5004, allocations: 158.2 kB / 0.6695 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.5005, allocations: 0.6766 MB / 0.6702 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.5005, allocations: 1.281 kB / 0.6702 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.5006, allocations: 8.625 kB / 0.6702 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5006, allocations: 0 / 0.6702 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.5183, allocations: 1.499 MB / 0.6716 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.86, allocations: 6.312 kB / 0.6716 GB, free: 0.7109 MB / 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)