Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",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.001295/0.001295, allocations: 108 kB / 15.6 MB, free: 132 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.001584/0.001584, allocations: 194.4 kB / 16.53 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 1.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002585/0.002585, allocations: 287 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 178.5 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00415/0.00415, allocations: 95.86 kB / 0.6065 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2486, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003228/0.2518, allocations: 1.496 MB / 0.6951 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2533, allocations: 0.8036 MB / 0.6958 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.2534, allocations: 7.938 kB / 0.6958 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.2534, allocations: 10.89 kB / 0.6959 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.2535, allocations: 11.86 kB / 0.6959 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.254, allocations: 127.5 kB / 0.696 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.2541, allocations: 43.86 kB / 0.696 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2542, allocations: 22.7 kB / 0.696 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.2543, allocations: 23.92 kB / 0.6961 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.2544, allocations: 23.91 kB / 0.6961 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.2544, allocations: 4 kB / 0.6961 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.2548, allocations: 171.7 kB / 0.6963 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.2548, allocations: 15.92 kB / 0.6963 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.2549, allocations: 27.86 kB / 0.6963 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.2551, allocations: 135.7 kB / 0.6964 GB, free: 1.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2552, allocations: 0 / 0.6964 GB, free: 1.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.2552, allocations: 3.984 kB / 0.6964 GB, free: 1.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.85e-06/0.2552, allocations: 0 / 0.6964 GB, free: 1.309 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006783/0.2559, allocations: 395.2 kB / 0.6968 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2559, allocations: 12.03 kB / 0.6968 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.256, allocations: 38.75 kB / 0.6969 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.256, allocations: 8.875 kB / 0.6969 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2562, allocations: 172.2 kB / 0.697 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2562, allocations: 4.375 kB / 0.697 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2562, allocations: 384 / 0.697 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.2565, allocations: 74.2 kB / 0.6971 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2565, allocations: 3.938 kB / 0.6971 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2566, allocations: 4 kB / 0.6971 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2566, allocations: 8 kB / 0.6971 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.2569, allocations: 63.92 kB / 0.6972 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.2573, allocations: 288.6 kB / 0.6975 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.2576, allocations: 54.55 kB / 0.6975 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2577, allocations: 40.91 kB / 0.6976 GB, free: 0 / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.258, allocations: 89.09 kB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.258, allocations: 34.56 kB / 0.6977 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.986e-06/0.258, allocations: 8 kB / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005717/0.2586, allocations: 129.5 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.2587, allocations: 51.41 kB / 0.6979 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2588, allocations: 121.8 kB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.2589, allocations: 25.7 kB / 0.698 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.2589, allocations: 92.05 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.259, allocations: 11.89 kB / 0.6981 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.259, allocations: 13.72 kB / 0.6981 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2592, allocations: 318.8 kB / 0.6984 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2594, allocations: 31.95 kB / 0.6984 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.2595, allocations: 35.97 kB / 0.6985 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.2598, allocations: 68.72 kB / 0.6985 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2598, allocations: 7.938 kB / 0.6985 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003333/0.2601, allocations: 101.5 kB / 0.6986 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.2602, allocations: 8 kB / 0.6987 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2602, allocations: 0 / 0.6987 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.2602, allocations: 0 / 0.6987 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.2604, allocations: 19.97 kB / 0.6987 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2604, allocations: 0 / 0.6987 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.2605, allocations: 15.98 kB / 0.6987 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2605, allocations: 336 / 0.6987 GB, free: 14.75 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 (3): * Single equations (assignments): 3 * 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 9.967e-05/0.2606, allocations: 114.4 kB / 0.6988 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.2606, allocations: 4 kB / 0.6988 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.261, allocations: 117.4 kB / 0.6989 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.261, allocations: 3.938 kB / 0.6989 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.261, allocations: 0 / 0.6989 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2611, allocations: 3.984 kB / 0.6989 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.2613, allocations: 181.6 kB / 0.6991 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2613, allocations: 4 kB / 0.6991 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.2614, allocations: 15.97 kB / 0.6991 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2614, allocations: 0 / 0.6991 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2614, allocations: 4 kB / 0.6991 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2614, allocations: 0 / 0.6991 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2614, allocations: 0 / 0.6991 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.2618, allocations: 199.4 kB / 0.6993 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.2619, allocations: 85.02 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.2619, allocations: 3.984 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.262, allocations: 7.984 kB / 0.6994 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.2621, allocations: 8 kB / 0.6994 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.2621, allocations: 0 / 0.6994 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.58e-05/0.2622, allocations: 95.7 kB / 0.6995 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2622, allocations: 4 kB / 0.6995 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000302/0.2625, allocations: 24 kB / 0.6995 GB, free: 13.79 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 (3): * Single equations (assignments): 3 * 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.0009322/0.2635, allocations: 0.7708 MB / 0.7003 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.2639, allocations: 71.92 kB / 0.7003 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2639, allocations: 0 / 0.7003 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.264, allocations: 31.97 kB / 0.7004 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.2644, allocations: 17.7 kB / 0.7004 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.2667, allocations: 1.433 MB / 0.7018 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.2671, allocations: 0.6807 MB / 0.7025 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.067e-05/0.2671, allocations: 3.984 kB / 0.7025 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.2672, allocations: 23.42 kB / 0.7025 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2672, allocations: 0 / 0.7025 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.2926, allocations: 2.428 MB / 0.7049 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.102, allocations: 12.05 kB / 0.7049 GB, free: 8.289 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)