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.001638/0.001638, allocations: 108 kB / 15.61 MB, free: 148 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.002049/0.002049, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 270.7 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9909/0.9909, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003042/0.003042, allocations: 96.36 kB / 0.5953 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1688, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002867/0.1718, allocations: 1.906 MB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5378/0.7096, allocations: 155.4 MB / 0.8339 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.7099, allocations: 1.25 kB / 0.8339 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.7102, allocations: 27.05 kB / 0.834 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.7106, allocations: 72.06 kB / 0.834 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.7116, allocations: 267.2 kB / 0.8343 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.7119, allocations: 263.8 kB / 0.8345 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.7121, allocations: 62.61 kB / 0.8346 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.7134, allocations: 248.6 kB / 0.8348 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.7135, allocations: 94.12 kB / 0.8349 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.7136, allocations: 14.94 kB / 0.8349 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.714, allocations: 182.6 kB / 0.8351 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.7141, allocations: 44.64 kB / 0.8351 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.863e-05/0.7142, allocations: 93.75 kB / 0.8352 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.7147, allocations: 280.2 kB / 0.8355 GB, free: 316 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7147, allocations: 0 / 0.8355 GB, free: 316 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7147, allocations: 0 / 0.8355 GB, free: 316 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.7147, allocations: 1.219 kB / 0.8355 GB, free: 316 kB / 0.5606 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.001001/0.7157, allocations: 0.5277 MB / 0.836 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.7158, allocations: 9.25 kB / 0.836 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.7158, allocations: 50.86 kB / 0.8361 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/0.7167, allocations: 84.34 kB / 0.8362 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.717, allocations: 230.9 kB / 0.8364 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.7171, allocations: 37.09 kB / 0.8364 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.7171, allocations: 17.97 kB / 0.8364 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.7177, allocations: 263.3 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7177, allocations: 1.562 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.7177, allocations: 8.344 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.7178, allocations: 5.25 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.7182, allocations: 174.2 kB / 0.8369 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.7199, allocations: 1.179 MB / 0.838 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007785/0.7207, allocations: 207.9 kB / 0.8382 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.7209, allocations: 68.61 kB / 0.8383 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.7209, allocations: 3.578 kB / 0.8383 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.721, allocations: 39 kB / 0.8383 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.721, allocations: 0 / 0.8383 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002754/0.7237, allocations: 0.631 MB / 0.8389 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.7238, allocations: 53.56 kB / 0.839 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.724, allocations: 212.8 kB / 0.8392 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.724, allocations: 26.92 kB / 0.8392 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.7241, allocations: 140.4 kB / 0.8393 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.7242, allocations: 43.39 kB / 0.8394 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.7243, allocations: 45.61 kB / 0.8394 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7244, allocations: 335.7 kB / 0.8398 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.7246, allocations: 74.86 kB / 0.8398 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.7249, allocations: 127.9 kB / 0.8399 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.7253, allocations: 204.5 kB / 0.8401 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7253, allocations: 0 / 0.8401 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001409/0.7267, allocations: 368.6 kB / 0.8405 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7267, allocations: 5.562 kB / 0.8405 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7268, allocations: 3.844 kB / 0.8405 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.7278, allocations: 162 kB / 0.8407 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.728, allocations: 36.61 kB / 0.8407 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/0.7318, allocations: 3.26 MB / 0.8439 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.7322, allocations: 34.75 kB / 0.8439 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.7322, allocations: 12.53 kB / 0.8439 GB, free: 10.47 MB / 0.5762 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.0001401/0.7323, allocations: 135.1 kB / 0.844 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.7324, allocations: 16.06 kB / 0.8441 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.7337, allocations: 373.9 kB / 0.8444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7337, allocations: 6.281 kB / 0.8444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.7337, allocations: 1.156 kB / 0.8444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7337, allocations: 2.484 kB / 0.8444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.734, allocations: 283.8 kB / 0.8447 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7341, allocations: 0 / 0.8447 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.7342, allocations: 29.22 kB / 0.8447 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008215/0.735, allocations: 142 kB / 0.8449 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.735, allocations: 4.656 kB / 0.8449 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003485/0.7385, allocations: 3.3 MB / 0.8481 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7386, allocations: 9.25 kB / 0.8481 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.7398, allocations: 432.1 kB / 0.8485 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.74, allocations: 121.1 kB / 0.8486 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.74, allocations: 5.375 kB / 0.8486 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.7403, allocations: 12.2 kB / 0.8486 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.7404, allocations: 22.33 kB / 0.8487 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.7404, allocations: 8.125 kB / 0.8487 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001752/0.7406, allocations: 158.2 kB / 0.8488 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7406, allocations: 0 / 0.8488 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004352/0.741, allocations: 72.5 kB / 0.8489 GB, free: 6.543 MB / 0.5762 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.001603/0.7427, allocations: 0.979 MB / 0.8498 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.7437, allocations: 455.6 kB / 0.8503 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7438, allocations: 0 / 0.8503 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.7444, allocations: 355.1 kB / 0.8506 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.7449, allocations: 58.58 kB / 0.8507 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/0.7499, allocations: 2.528 MB / 0.8531 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.7503, allocations: 0.7355 MB / 0.8539 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.7506, allocations: 33.44 kB / 0.8539 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.7507, allocations: 54.06 kB / 0.8539 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7507, allocations: 0 / 0.8539 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.7849, allocations: 7.213 MB / 0.861 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.61, allocations: 3.859 kB / 0.861 GB, free: 14.88 MB / 0.5919 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)