Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001009/0.001009, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001187/0.001187, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9597/0.9597, allocations: 135.3 MB / 426.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 8.5 kB / 0.5071 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2122, allocations: 82.32 MB / 0.5875 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001955/0.2142, allocations: 1.336 MB / 0.5888 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5168/0.7311, allocations: 136 MB / 0.7215 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.7312, allocations: 0.9688 kB / 0.7215 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.7314, allocations: 18.83 kB / 0.7216 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.7317, allocations: 42 kB / 0.7216 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.7323, allocations: 158 kB / 0.7217 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.7325, allocations: 133.8 kB / 0.7219 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.7326, allocations: 19.05 kB / 0.7219 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.7331, allocations: 135.3 kB / 0.722 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.7332, allocations: 56.69 kB / 0.7221 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.7332, allocations: 3.906 kB / 0.7221 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.7336, allocations: 156.7 kB / 0.7222 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.7336, allocations: 13.38 kB / 0.7222 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.7337, allocations: 41.45 kB / 0.7223 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.7339, allocations: 141.8 kB / 0.7224 GB, free: 9.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7339, allocations: 1.438 kB / 0.7224 GB, free: 9.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7339, allocations: 0 / 0.7224 GB, free: 9.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.734, allocations: 0 / 0.7224 GB, free: 9.621 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008644/0.7348, allocations: 453.9 kB / 0.7229 GB, free: 9.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7349, allocations: 13.34 kB / 0.7229 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.7349, allocations: 45.05 kB / 0.7229 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005892/0.7355, allocations: 50.78 kB / 0.723 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.7358, allocations: 209.2 kB / 0.7232 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.7358, allocations: 7.875 kB / 0.7232 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.7358, allocations: 5.312 kB / 0.7232 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.7363, allocations: 202 kB / 0.7234 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.7363, allocations: 0 / 0.7234 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.7363, allocations: 2.875 kB / 0.7234 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.7364, allocations: 2.125 kB / 0.7234 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.7369, allocations: 168.5 kB / 0.7235 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.738, allocations: 0.8267 MB / 0.7243 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.7384, allocations: 143 kB / 0.7245 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.7387, allocations: 86.36 kB / 0.7246 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.7387, allocations: 13.31 kB / 0.7246 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.7388, allocations: 40.64 kB / 0.7246 GB, free: 7.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.7388, allocations: 0 / 0.7246 GB, free: 7.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001836/0.7406, allocations: 483.1 kB / 0.7251 GB, free: 7.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.7407, allocations: 53.28 kB / 0.7251 GB, free: 7.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.7408, allocations: 146.4 kB / 0.7253 GB, free: 7.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.7409, allocations: 26.5 kB / 0.7253 GB, free: 7.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.7409, allocations: 107.3 kB / 0.7254 GB, free: 7.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.741, allocations: 34.14 kB / 0.7254 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.741, allocations: 4 kB / 0.7254 GB, free: 7.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7411, allocations: 324.9 kB / 0.7257 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.7414, allocations: 78.3 kB / 0.7258 GB, free: 7.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.7416, allocations: 111.8 kB / 0.7259 GB, free: 6.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.7419, allocations: 90.48 kB / 0.726 GB, free: 6.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7419, allocations: 1 kB / 0.726 GB, free: 6.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009931/0.7429, allocations: 297.1 kB / 0.7263 GB, free: 6.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7429, allocations: 9.594 kB / 0.7263 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.743, allocations: 1.781 kB / 0.7263 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.7436, allocations: 83.89 kB / 0.7264 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.7438, allocations: 40.16 kB / 0.7264 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.746, allocations: 1.558 MB / 0.7279 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.7462, allocations: 29.39 kB / 0.728 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.7462, allocations: 6.766 kB / 0.728 GB, free: 5.383 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.7464, allocations: 131 kB / 0.7281 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.7464, allocations: 8.609 kB / 0.7281 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.7475, allocations: 330.2 kB / 0.7284 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.7475, allocations: 1.531 kB / 0.7284 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.7475, allocations: 5.656 kB / 0.7284 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7476, allocations: 4.797 kB / 0.7284 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.7479, allocations: 235.5 kB / 0.7286 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7479, allocations: 0 / 0.7286 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.7481, allocations: 34.2 kB / 0.7287 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/0.7486, allocations: 91.81 kB / 0.7288 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.7486, allocations: 2.609 kB / 0.7288 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.7504, allocations: 1.564 MB / 0.7303 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7505, allocations: 0.875 kB / 0.7303 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.7515, allocations: 398.3 kB / 0.7307 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.7516, allocations: 92.78 kB / 0.7308 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.7517, allocations: 6.094 kB / 0.7308 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.7519, allocations: 27.03 kB / 0.7308 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.752, allocations: 14.89 kB / 0.7308 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.752, allocations: 5.078 kB / 0.7308 GB, free: 3.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.955e-05/0.7521, allocations: 105.1 kB / 0.7309 GB, free: 3.043 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.372e-06/0.7521, allocations: 0 / 0.7309 GB, free: 3.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003611/0.7524, allocations: 47.81 kB / 0.731 GB, free: 3.031 MB / 0.545 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.7538, allocations: 0.9464 MB / 0.7319 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009533/0.7548, allocations: 322.6 kB / 0.7322 GB, free: 2.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7548, allocations: 1.281 kB / 0.7322 GB, free: 2.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.7554, allocations: 248.1 kB / 0.7324 GB, free: 1.977 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.7558, allocations: 32.83 kB / 0.7325 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.7587, allocations: 1.029 MB / 0.7335 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.7592, allocations: 0.7093 MB / 0.7342 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.7594, allocations: 26.09 kB / 0.7342 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.7595, allocations: 31.62 kB / 0.7342 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.7595, allocations: 0 / 0.7342 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.7758, allocations: 4.219 MB / 0.7383 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.776, allocations: 219.4 kB / 0.7385 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.655, allocations: 3.938 kB / 0.7386 GB, free: 15.54 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) Environment - environmentSimulation: