Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001552/0.001552, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 174.7 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.676/2.676, allocations: 223.2 MB / 240.5 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9982/0.9982, allocations: 113.7 MB / 405.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004921, allocations: 8 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2997, allocations: 77.12 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002693/0.3025, allocations: 1.539 MB / 0.5582 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.9464/1.249, allocations: 130.9 MB / 0.6861 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/1.249, allocations: 0 / 0.6861 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002465/1.25, allocations: 15.86 kB / 0.6861 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004968/1.25, allocations: 79.78 kB / 0.6862 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/1.251, allocations: 219.4 kB / 0.6864 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004353/1.252, allocations: 175.6 kB / 0.6866 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/1.252, allocations: 52.75 kB / 0.6866 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/1.253, allocations: 151.6 kB / 0.6868 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/1.253, allocations: 75.62 kB / 0.6868 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/1.253, allocations: 4 kB / 0.6868 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006143/1.254, allocations: 187.8 kB / 0.687 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/1.254, allocations: 31.84 kB / 0.687 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/1.254, allocations: 53.64 kB / 0.6871 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/1.254, allocations: 192.4 kB / 0.6873 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 0.0001178/1.254, allocations: 0 / 0.6873 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.985e-06/1.254, allocations: 3.938 kB / 0.6873 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.254, allocations: 0 / 0.6873 GB, free: 4.383 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001402/1.256, allocations: 0.5036 MB / 0.6878 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/1.256, allocations: 8.031 kB / 0.6878 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.438e-05/1.256, allocations: 50.55 kB / 0.6878 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/1.257, allocations: 87.67 kB / 0.6879 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/1.258, allocations: 226.6 kB / 0.6881 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/1.258, allocations: 38.02 kB / 0.6882 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/1.258, allocations: 20 kB / 0.6882 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000838/1.259, allocations: 263.3 kB / 0.6884 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.259, allocations: 0 / 0.6884 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/1.259, allocations: 15.98 kB / 0.6884 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/1.259, allocations: 4 kB / 0.6884 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007128/1.26, allocations: 171.8 kB / 0.6886 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/1.263, allocations: 1.192 MB / 0.6898 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/1.264, allocations: 215.3 kB / 0.69 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/1.264, allocations: 0 / 0.69 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/1.264, allocations: 38.5 kB / 0.69 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/1.264, allocations: 0 / 0.69 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.003852/1.268, allocations: 0.6396 MB / 0.6906 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/1.268, allocations: 55.36 kB / 0.6907 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/1.269, allocations: 215.8 kB / 0.6909 GB, free: 384 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/1.269, allocations: 29.7 kB / 0.6909 GB, free: 348 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/1.269, allocations: 143.9 kB / 0.6911 GB, free: 200 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/1.269, allocations: 39.45 kB / 0.6911 GB, free: 160 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/1.269, allocations: 8 kB / 0.6911 GB, free: 152 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.269, allocations: 322.8 kB / 0.6914 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/1.27, allocations: 75.94 kB / 0.6915 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/1.27, allocations: 138.5 kB / 0.6916 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/1.27, allocations: 83.94 kB / 0.6917 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.27, allocations: 4 kB / 0.6917 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002117/1.273, allocations: 382.7 kB / 0.6921 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/1.273, allocations: 10.25 kB / 0.6921 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.273, allocations: 4 kB / 0.6921 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/1.274, allocations: 161.5 kB / 0.6922 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/1.275, allocations: 51.89 kB / 0.6923 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/1.281, allocations: 3.056 MB / 0.6953 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/1.282, allocations: 35.8 kB / 0.6953 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/1.282, allocations: 15.98 kB / 0.6953 GB, free: 11.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000339/1.282, allocations: 133.7 kB / 0.6955 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/1.282, allocations: 15.81 kB / 0.6955 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/1.284, allocations: 384.3 kB / 0.6958 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.284, allocations: 4 kB / 0.6958 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/1.284, allocations: 3.984 kB / 0.6958 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.284, allocations: 0 / 0.6958 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/1.285, allocations: 277.3 kB / 0.6961 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.285, allocations: 4 kB / 0.6961 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/1.285, allocations: 23.97 kB / 0.6961 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/1.287, allocations: 165.5 kB / 0.6963 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/1.287, allocations: 7.984 kB / 0.6963 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005679/1.292, allocations: 3.096 MB / 0.6993 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.292, allocations: 0 / 0.6993 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/1.294, allocations: 446.7 kB / 0.6997 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/1.295, allocations: 120.8 kB / 0.6999 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/1.295, allocations: 11.89 kB / 0.6999 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/1.295, allocations: 15.98 kB / 0.6999 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/1.295, allocations: 19.97 kB / 0.6999 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/1.295, allocations: 4 kB / 0.6999 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003259/1.296, allocations: 159.9 kB / 0.7001 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/1.296, allocations: 4 kB / 0.7001 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007487/1.297, allocations: 67.94 kB / 0.7001 GB, free: 6.203 MB / 0.5137 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002289/1.299, allocations: 0.9831 MB / 0.7011 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001636/1.3, allocations: 464.3 kB / 0.7015 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.301, allocations: 0 / 0.7015 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.302, allocations: 365.2 kB / 0.7019 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/1.302, allocations: 53.39 kB / 0.7019 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/1.307, allocations: 2.413 MB / 0.7043 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/1.307, allocations: 0.7362 MB / 0.705 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002692/1.307, allocations: 34.95 kB / 0.705 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.308, allocations: 51.41 kB / 0.7051 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of SimCode: time 1.543e-06/1.308, allocations: 8 kB / 0.7051 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2403/1.548, allocations: 6.624 MB / 0.7116 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00046/1.548, allocations: 218.4 kB / 0.7118 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.634/5.182, allocations: 0 / 0.7118 GB, free: 10.3 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: