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.0007314/0.0007315, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004464/0.004464, allocations: 169.4 kB / 16.26 MB, free: 6.66 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.218/1.218, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.00178, allocations: 277.5 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004278, allocations: 11.72 kB / 0.5988 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00191/0.1666, allocations: 1.617 MB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5505/0.7171, allocations: 151.5 MB / 0.8347 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.7173, allocations: 2.75 kB / 0.8347 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.7174, allocations: 21.17 kB / 0.8348 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.7177, allocations: 63.17 kB / 0.8348 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.7184, allocations: 230.2 kB / 0.835 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.7187, allocations: 250.6 kB / 0.8353 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.7189, allocations: 67.36 kB / 0.8354 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.7207, allocations: 206.3 kB / 0.8355 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.7209, allocations: 84.39 kB / 0.8356 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.7209, allocations: 5.719 kB / 0.8356 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.7213, allocations: 176.6 kB / 0.8358 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.7213, allocations: 23.38 kB / 0.8358 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.7215, allocations: 113.4 kB / 0.8359 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.7218, allocations: 272.2 kB / 0.8362 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7219, allocations: 5.25 kB / 0.8362 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.013e-06/0.7219, allocations: 3.938 kB / 0.8362 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.7219, allocations: 0 / 0.8362 GB, free: 10.18 MB / 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.0008681/0.7228, allocations: 0.4926 MB / 0.8367 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7228, allocations: 9.406 kB / 0.8367 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.7229, allocations: 48.02 kB / 0.8367 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000832/0.7237, allocations: 84.5 kB / 0.8368 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.724, allocations: 238.8 kB / 0.837 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/0.7241, allocations: 38.06 kB / 0.8371 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.7241, allocations: 17.84 kB / 0.8371 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.7246, allocations: 270.4 kB / 0.8374 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.7247, allocations: 0 / 0.8374 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.7247, allocations: 7.375 kB / 0.8374 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7247, allocations: 7.5 kB / 0.8374 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.7251, allocations: 178.5 kB / 0.8375 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.7267, allocations: 1.193 MB / 0.8387 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.7274, allocations: 204 kB / 0.8389 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.7276, allocations: 86.06 kB / 0.839 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.7276, allocations: 0 / 0.839 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.7277, allocations: 36.81 kB / 0.839 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.001e-06/0.7277, allocations: 0 / 0.839 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002684/0.7304, allocations: 0.6554 MB / 0.8397 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.7304, allocations: 54.47 kB / 0.8397 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.7307, allocations: 210.2 kB / 0.8399 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.7307, allocations: 33.11 kB / 0.8399 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.7308, allocations: 140.4 kB / 0.8401 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.7308, allocations: 34.52 kB / 0.8401 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.7309, allocations: 24.38 kB / 0.8401 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.731, allocations: 329.4 kB / 0.8404 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.7312, allocations: 76.39 kB / 0.8405 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.7315, allocations: 140.3 kB / 0.8407 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.7319, allocations: 205.5 kB / 0.8408 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7319, allocations: 0 / 0.8408 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001424/0.7334, allocations: 391.9 kB / 0.8412 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.7334, allocations: 7.562 kB / 0.8412 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.7334, allocations: 4.219 kB / 0.8412 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.7345, allocations: 167.9 kB / 0.8414 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.7347, allocations: 41.16 kB / 0.8414 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/0.7383, allocations: 3.04 MB / 0.8444 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.7387, allocations: 41.92 kB / 0.8444 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.7387, allocations: 9.422 kB / 0.8445 GB, free: 2.906 MB / 0.5606 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.0001268/0.7389, allocations: 136.4 kB / 0.8446 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.7389, allocations: 14.53 kB / 0.8446 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.7402, allocations: 395 kB / 0.845 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.7402, allocations: 0 / 0.845 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7402, allocations: 7.312 kB / 0.845 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7403, allocations: 0 / 0.845 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.7406, allocations: 269 kB / 0.8452 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7406, allocations: 0 / 0.8452 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.7407, allocations: 31.97 kB / 0.8453 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009548/0.7417, allocations: 162.8 kB / 0.8454 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.7417, allocations: 6.234 kB / 0.8454 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.745, allocations: 3.07 MB / 0.8484 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.745, allocations: 0 / 0.8484 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.7463, allocations: 446 kB / 0.8488 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.7464, allocations: 121.1 kB / 0.849 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.7465, allocations: 10.47 kB / 0.849 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.7467, allocations: 14.67 kB / 0.849 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.7468, allocations: 21.25 kB / 0.849 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.7469, allocations: 2.531 kB / 0.849 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001739/0.747, allocations: 159.8 kB / 0.8492 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.747, allocations: 3.031 kB / 0.8492 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004284/0.7475, allocations: 73.03 kB / 0.8492 GB, free: 14.59 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.001609/0.7491, allocations: 0.9974 MB / 0.8502 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.7501, allocations: 458.3 kB / 0.8506 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7501, allocations: 0 / 0.8506 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.7508, allocations: 368.2 kB / 0.851 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.7513, allocations: 50.06 kB / 0.851 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.7562, allocations: 2.636 MB / 0.8536 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.7565, allocations: 0.7309 MB / 0.8543 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.7567, allocations: 38.44 kB / 0.8544 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.7569, allocations: 54.38 kB / 0.8544 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.7569, allocations: 0 / 0.8544 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.779, allocations: 6.654 MB / 0.8609 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.7792, allocations: 263 kB / 0.8612 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.693, allocations: 2.75 kB / 0.8612 GB, free: 6.785 MB / 0.5762 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)