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.006171/0.006171, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001434/0.001434, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 283 kB / 290.8 MB, free: 1.898 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.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 95.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1875, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003368/0.1909, allocations: 1.906 MB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5681/0.759, allocations: 155.4 MB / 0.9195 GB, free: 5.664 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.7592, allocations: 4.594 kB / 0.9195 GB, free: 5.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.7595, allocations: 23.73 kB / 0.9196 GB, free: 5.637 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.7598, allocations: 75.42 kB / 0.9196 GB, free: 5.562 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.7606, allocations: 268.7 kB / 0.9199 GB, free: 5.301 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.7609, allocations: 267.1 kB / 0.9201 GB, free: 5.039 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.7611, allocations: 66.42 kB / 0.9202 GB, free: 4.973 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.7627, allocations: 257.5 kB / 0.9205 GB, free: 4.758 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.7629, allocations: 91.61 kB / 0.9205 GB, free: 4.668 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.763, allocations: 15.94 kB / 0.9206 GB, free: 4.652 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004781/0.7635, allocations: 183.7 kB / 0.9207 GB, free: 4.473 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-05/0.7636, allocations: 47.83 kB / 0.9208 GB, free: 4.426 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.7637, allocations: 95.52 kB / 0.9209 GB, free: 4.332 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.7642, allocations: 288.5 kB / 0.9211 GB, free: 4.055 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7642, allocations: 0 / 0.9211 GB, free: 4.055 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7642, allocations: 0 / 0.9211 GB, free: 4.055 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7642, allocations: 4 kB / 0.9211 GB, free: 4.051 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.001048/0.7653, allocations: 0.5219 MB / 0.9217 GB, free: 3.48 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7654, allocations: 16.03 kB / 0.9217 GB, free: 3.465 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.774e-05/0.7654, allocations: 46.55 kB / 0.9217 GB, free: 3.41 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008335/0.7663, allocations: 83.78 kB / 0.9218 GB, free: 3.328 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.7666, allocations: 230.7 kB / 0.922 GB, free: 3.062 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.092e-05/0.7667, allocations: 42.02 kB / 0.9221 GB, free: 3.016 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.7667, allocations: 23.94 kB / 0.9221 GB, free: 2.992 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.7673, allocations: 263.7 kB / 0.9223 GB, free: 2.707 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7673, allocations: 0 / 0.9223 GB, free: 2.707 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.7674, allocations: 8 kB / 0.9223 GB, free: 2.699 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.7674, allocations: 4 kB / 0.9223 GB, free: 2.695 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.7678, allocations: 168.5 kB / 0.9225 GB, free: 2.531 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.7695, allocations: 1.185 MB / 0.9237 GB, free: 1.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.7703, allocations: 212.2 kB / 0.9239 GB, free: 1.055 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.7705, allocations: 68.81 kB / 0.9239 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.7705, allocations: 4 kB / 0.9239 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.7705, allocations: 34.56 kB / 0.924 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.7705, allocations: 0 / 0.924 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of matching and sorting (n=12): time 0.0026/0.7732, allocations: 0.6266 MB / 0.9246 GB, free: 268 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.7732, allocations: 51.41 kB / 0.9246 GB, free: 204 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.7735, allocations: 211.1 kB / 0.9248 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.7735, allocations: 33.7 kB / 0.9249 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.7736, allocations: 144.2 kB / 0.925 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.7737, allocations: 39.64 kB / 0.925 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.7738, allocations: 49.64 kB / 0.9251 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.774, allocations: 330.8 kB / 0.9254 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.7742, allocations: 71.94 kB / 0.9255 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.7745, allocations: 131.6 kB / 0.9256 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.7749, allocations: 195.4 kB / 0.9258 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7749, allocations: 0 / 0.9258 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001395/0.7763, allocations: 389.2 kB / 0.9262 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7763, allocations: 4 kB / 0.9262 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7764, allocations: 4 kB / 0.9262 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.7774, allocations: 161.8 kB / 0.9263 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.7776, allocations: 39.84 kB / 0.9264 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/0.7818, allocations: 3.243 MB / 0.9295 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.7822, allocations: 40.62 kB / 0.9296 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.7822, allocations: 12.06 kB / 0.9296 GB, free: 10.75 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.0001507/0.7824, allocations: 133.7 kB / 0.9297 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.7824, allocations: 23.86 kB / 0.9297 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.7837, allocations: 366.6 kB / 0.9301 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7837, allocations: 0 / 0.9301 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.7837, allocations: 0 / 0.9301 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7837, allocations: 0 / 0.9301 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.7841, allocations: 281.3 kB / 0.9303 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7841, allocations: 9.062 kB / 0.9303 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.7842, allocations: 23.98 kB / 0.9304 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000789/0.785, allocations: 133.6 kB / 0.9305 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.7851, allocations: 11.98 kB / 0.9305 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/0.789, allocations: 3.293 MB / 0.9337 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.789, allocations: 4.062 kB / 0.9337 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.7903, allocations: 436.7 kB / 0.9341 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.7904, allocations: 112.9 kB / 0.9343 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.7904, allocations: 7.984 kB / 0.9343 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.7907, allocations: 15.98 kB / 0.9343 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.7908, allocations: 19.92 kB / 0.9343 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.7908, allocations: 11.98 kB / 0.9343 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001954/0.791, allocations: 159.1 kB / 0.9345 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.791, allocations: 0 / 0.9345 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004244/0.7915, allocations: 71.92 kB / 0.9345 GB, free: 5.27 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.00164/0.7931, allocations: 0.9914 MB / 0.9355 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.7942, allocations: 437.8 kB / 0.9359 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7942, allocations: 7.938 kB / 0.9359 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006812/0.7949, allocations: 361.2 kB / 0.9363 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.7953, allocations: 64.67 kB / 0.9363 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.8003, allocations: 2.523 MB / 0.9388 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.8007, allocations: 0.7363 MB / 0.9395 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.8009, allocations: 29.95 kB / 0.9395 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.801, allocations: 59.41 kB / 0.9396 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of SimCode: time 2.4e-07/0.801, allocations: 0 / 0.9396 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.839, allocations: 7.321 MB / 0.9467 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.56, allocations: 0 / 0.9467 GB, free: 8.773 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)