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.007661/0.007661, allocations: 97.83 kB / 15.73 MB, free: 6.047 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.00164/0.00164, allocations: 202.8 kB / 16.68 MB, free: 5.965 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002593/0.002593, allocations: 279 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 108.5 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1992, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003803/0.2031, allocations: 1.92 MB / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6015/0.8046, allocations: 155.4 MB / 0.9195 GB, free: 5.738 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.8048, allocations: 0 / 0.9195 GB, free: 5.738 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.8051, allocations: 31.72 kB / 0.9196 GB, free: 5.707 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.8054, allocations: 67.42 kB / 0.9196 GB, free: 5.641 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007059/0.8061, allocations: 263.8 kB / 0.9199 GB, free: 5.383 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.8065, allocations: 263.1 kB / 0.9201 GB, free: 5.125 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.8067, allocations: 86.27 kB / 0.9202 GB, free: 5.039 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.8081, allocations: 239.3 kB / 0.9205 GB, free: 4.836 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.8083, allocations: 95.59 kB / 0.9205 GB, free: 4.742 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.8084, allocations: 12 kB / 0.9206 GB, free: 4.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.8087, allocations: 187.8 kB / 0.9207 GB, free: 4.547 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.8088, allocations: 39.84 kB / 0.9208 GB, free: 4.508 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.8089, allocations: 95.52 kB / 0.9209 GB, free: 4.414 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.8095, allocations: 284.5 kB / 0.9211 GB, free: 4.141 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.8095, allocations: 0 / 0.9211 GB, free: 4.141 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8095, allocations: 0 / 0.9211 GB, free: 4.141 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.8095, allocations: 0 / 0.9211 GB, free: 4.141 MB / 0.67 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.0012/0.8107, allocations: 0.5296 MB / 0.9217 GB, free: 3.562 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.8108, allocations: 15.97 kB / 0.9217 GB, free: 3.547 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.8108, allocations: 51.23 kB / 0.9217 GB, free: 3.488 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.8117, allocations: 83.78 kB / 0.9218 GB, free: 3.406 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.8121, allocations: 233.1 kB / 0.922 GB, free: 3.141 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.534e-05/0.8122, allocations: 42.03 kB / 0.9221 GB, free: 3.094 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.8122, allocations: 16 kB / 0.9221 GB, free: 3.078 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.8128, allocations: 263.7 kB / 0.9223 GB, free: 2.793 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.8128, allocations: 3.984 kB / 0.9223 GB, free: 2.789 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.8128, allocations: 8.688 kB / 0.9223 GB, free: 2.781 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.8128, allocations: 8 kB / 0.9223 GB, free: 2.773 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.8133, allocations: 172.5 kB / 0.9225 GB, free: 2.605 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.8151, allocations: 1.189 MB / 0.9237 GB, free: 1.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.8159, allocations: 212.9 kB / 0.9239 GB, free: 1.125 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.8161, allocations: 68.81 kB / 0.9239 GB, free: 1.055 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.8162, allocations: 4 kB / 0.9239 GB, free: 1.051 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.8162, allocations: 30.56 kB / 0.924 GB, free: 1.012 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.8162, allocations: 0 / 0.924 GB, free: 1.012 MB / 0.67 GB Notification: Performance of matching and sorting (n=12): time 0.002977/0.8192, allocations: 0.6348 MB / 0.9246 GB, free: 336 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.8192, allocations: 51.41 kB / 0.9246 GB, free: 272 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.8196, allocations: 215.1 kB / 0.9248 GB, free: 48 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.8196, allocations: 29.7 kB / 0.9249 GB, free: 12 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.8198, allocations: 136.2 kB / 0.925 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.8198, allocations: 39.66 kB / 0.925 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.8199, allocations: 53.62 kB / 0.9251 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8201, allocations: 330.8 kB / 0.9254 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.8203, allocations: 73.06 kB / 0.9255 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.8206, allocations: 131.7 kB / 0.9256 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.821, allocations: 195.6 kB / 0.9258 GB, free: 15 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8211, allocations: 0 / 0.9258 GB, free: 15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001496/0.8226, allocations: 378 kB / 0.9262 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8226, allocations: 4 kB / 0.9262 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8226, allocations: 4 kB / 0.9262 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.8238, allocations: 169.7 kB / 0.9263 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.824, allocations: 35.95 kB / 0.9264 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004362/0.8284, allocations: 3.248 MB / 0.9295 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.8288, allocations: 43.7 kB / 0.9296 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.8288, allocations: 7.984 kB / 0.9296 GB, free: 10.82 MB / 0.6856 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.0001632/0.829, allocations: 133.8 kB / 0.9297 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.8291, allocations: 23.86 kB / 0.9297 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.8305, allocations: 368.4 kB / 0.9301 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.8305, allocations: 0 / 0.9301 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.8305, allocations: 0 / 0.9301 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8305, allocations: 0 / 0.9301 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.8309, allocations: 289.3 kB / 0.9304 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8309, allocations: 0 / 0.9304 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.8311, allocations: 19.98 kB / 0.9304 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008462/0.8319, allocations: 145.5 kB / 0.9305 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.8319, allocations: 8 kB / 0.9305 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.836, allocations: 3.29 MB / 0.9337 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8361, allocations: 0 / 0.9337 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.8374, allocations: 443.4 kB / 0.9342 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.8376, allocations: 116.9 kB / 0.9343 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.8376, allocations: 128 / 0.9343 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.8379, allocations: 19.98 kB / 0.9343 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.838, allocations: 19.97 kB / 0.9343 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.8381, allocations: 8 kB / 0.9343 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002124/0.8383, allocations: 163.1 kB / 0.9345 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8383, allocations: 0 / 0.9345 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005531/0.8388, allocations: 71.94 kB / 0.9345 GB, free: 5.336 MB / 0.6856 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.001728/0.8406, allocations: 0.9792 MB / 0.9355 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.8417, allocations: 448.7 kB / 0.9359 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8417, allocations: 4 kB / 0.9359 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007737/0.8425, allocations: 357.2 kB / 0.9363 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.843, allocations: 61.47 kB / 0.9363 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/0.8484, allocations: 2.521 MB / 0.9388 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.8488, allocations: 0.7363 MB / 0.9395 GB, free: 4 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000206/0.849, allocations: 41.97 kB / 0.9395 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.8492, allocations: 55.41 kB / 0.9396 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.8492, allocations: 0 / 0.9396 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.8866, allocations: 7.311 MB / 0.9467 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.52, allocations: 2.953 kB / 0.9467 GB, free: 8.852 MB / 0.7012 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)