Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_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.004945/0.004945, allocations: 102.7 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.001206/0.001207, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 286.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8886/0.8886, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 95.86 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4157, allocations: 86.97 MB / 0.7659 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003463/0.4192, allocations: 1.918 MB / 0.7678 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1486/0.5678, allocations: 155.4 MB / 0.9195 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.5681, allocations: 0 / 0.9195 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.5683, allocations: 27.73 kB / 0.9196 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.5687, allocations: 75.41 kB / 0.9196 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.5694, allocations: 263.1 kB / 0.9199 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.5698, allocations: 267.1 kB / 0.9201 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.57, allocations: 62.42 kB / 0.9202 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.5713, allocations: 261.7 kB / 0.9205 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.5715, allocations: 91.61 kB / 0.9205 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.5715, allocations: 15.94 kB / 0.9206 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.5719, allocations: 179.8 kB / 0.9207 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.572, allocations: 43.89 kB / 0.9208 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.5721, allocations: 95.53 kB / 0.9209 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.5726, allocations: 287 kB / 0.9211 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5726, allocations: 0 / 0.9211 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5726, allocations: 0 / 0.9211 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.5726, allocations: 0 / 0.9211 GB, free: 4.25 MB / 0.6856 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.0009935/0.5736, allocations: 0.53 MB / 0.9217 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5737, allocations: 12.03 kB / 0.9217 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/0.5738, allocations: 54.48 kB / 0.9217 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008707/0.5746, allocations: 83.64 kB / 0.9218 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.5749, allocations: 232.8 kB / 0.922 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.575, allocations: 38.03 kB / 0.9221 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.5751, allocations: 16 kB / 0.9221 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.5756, allocations: 262.6 kB / 0.9223 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5756, allocations: 0 / 0.9223 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.5757, allocations: 8 kB / 0.9223 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5757, allocations: 4 kB / 0.9223 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.5762, allocations: 175.7 kB / 0.9225 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.5779, allocations: 1.173 MB / 0.9236 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.5787, allocations: 206.6 kB / 0.9238 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.5788, allocations: 72.81 kB / 0.9239 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.5789, allocations: 4 kB / 0.9239 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.5789, allocations: 34.56 kB / 0.924 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.5789, allocations: 0 / 0.924 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12): time 0.002697/0.5816, allocations: 0.6223 MB / 0.9246 GB, free: 480 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.5817, allocations: 59.34 kB / 0.9246 GB, free: 408 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.5819, allocations: 219.5 kB / 0.9248 GB, free: 180 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.582, allocations: 29.7 kB / 0.9249 GB, free: 144 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.5821, allocations: 144.1 kB / 0.925 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.5821, allocations: 35.39 kB / 0.925 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.5822, allocations: 49.59 kB / 0.9251 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5824, allocations: 330.8 kB / 0.9254 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.5826, allocations: 71.94 kB / 0.9255 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.5828, allocations: 127.7 kB / 0.9256 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.5833, allocations: 206.7 kB / 0.9258 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5833, allocations: 0 / 0.9258 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001492/0.5848, allocations: 376.7 kB / 0.9261 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5848, allocations: 7.984 kB / 0.9261 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5848, allocations: 4 kB / 0.9261 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.5859, allocations: 165.7 kB / 0.9263 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.5861, allocations: 35.95 kB / 0.9263 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.5901, allocations: 3.245 MB / 0.9295 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.5905, allocations: 39.67 kB / 0.9295 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.5906, allocations: 7.984 kB / 0.9296 GB, free: 10.95 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.5907, allocations: 136.1 kB / 0.9297 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.5908, allocations: 23.88 kB / 0.9297 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.5921, allocations: 372.3 kB / 0.9301 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5921, allocations: 0 / 0.9301 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5922, allocations: 4 kB / 0.9301 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5922, allocations: 0 / 0.9301 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.5925, allocations: 277.3 kB / 0.9303 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5925, allocations: 4 kB / 0.9303 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.5926, allocations: 23.98 kB / 0.9304 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008128/0.5935, allocations: 137.5 kB / 0.9305 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.5935, allocations: 15.94 kB / 0.9305 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/0.5971, allocations: 3.293 MB / 0.9337 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5972, allocations: 0 / 0.9337 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.5985, allocations: 440.1 kB / 0.9341 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.5986, allocations: 112.8 kB / 0.9342 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.5986, allocations: 7.938 kB / 0.9343 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.5989, allocations: 15.97 kB / 0.9343 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/0.599, allocations: 19.97 kB / 0.9343 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.599, allocations: 4 kB / 0.9343 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000247/0.5993, allocations: 171.8 kB / 0.9345 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5993, allocations: 0 / 0.9345 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004329/0.5997, allocations: 71.91 kB / 0.9345 GB, free: 5.457 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001604/0.6013, allocations: 0.9714 MB / 0.9355 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.6024, allocations: 443.3 kB / 0.9359 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6024, allocations: 7.938 kB / 0.9359 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007042/0.6031, allocations: 357.2 kB / 0.9362 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.6036, allocations: 54.72 kB / 0.9363 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.6085, allocations: 2.53 MB / 0.9388 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.6089, allocations: 0.7362 MB / 0.9395 GB, free: 140 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.609, allocations: 33.94 kB / 0.9395 GB, free: 108 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.6091, allocations: 59.41 kB / 0.9396 GB, free: 48 kB / 0.7012 GB Notification: Performance of SimCode: time 5.01e-07/0.6091, allocations: 0 / 0.9396 GB, free: 48 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.6397, allocations: 7.464 MB / 0.9469 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.07, allocations: 8.5 kB / 0.9469 GB, free: 8.828 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)