Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.889/0.889, allocations: 150.9 MB / 166.5 MB, free: 14.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003042, allocations: 19.48 kB / 236.6 MB, free: 1.996 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0562/0.05652, allocations: 31.34 MB / 267.9 MB, free: 7.535 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity): time 1.576/1.632, allocations: 294.8 MB / 0.5495 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1624/1.794, allocations: 159.1 MB / 0.705 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/1.795, allocations: 4 kB / 0.705 GB, free: 13.21 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/AirHumidity.mo:33:3-35:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/AirHumidity.mo:42:3-43:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005038/1.795, allocations: 125.8 kB / 0.7051 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/1.796, allocations: 107.1 kB / 0.7052 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009172/1.805, allocations: 3.383 MB / 0.7085 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005208/1.805, allocations: 367 kB / 0.7088 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/1.806, allocations: 196.1 kB / 0.709 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/1.806, allocations: 147.5 kB / 0.7092 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/1.806, allocations: 163.2 kB / 0.7093 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/1.806, allocations: 35.94 kB / 0.7094 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/1.819, allocations: 7.58 MB / 0.7168 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.99e-05/1.819, allocations: 75.77 kB / 0.7168 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/1.82, allocations: 179.2 kB / 0.717 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.3093/2.129, allocations: 3.48 MB / 0.7204 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/2.129, allocations: 1.859 kB / 0.7204 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.334e-06/2.129, allocations: 0 / 0.7204 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.958e-06/2.129, allocations: 1.125 kB / 0.7204 GB, free: 9.578 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003926/2.133, allocations: 0.8426 MB / 0.7212 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/2.133, allocations: 10.53 kB / 0.7212 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.792e-05/2.133, allocations: 76.77 kB / 0.7213 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/2.133, allocations: 41.23 kB / 0.7213 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/2.133, allocations: 254.7 kB / 0.7216 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/2.133, allocations: 29.31 kB / 0.7216 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/2.133, allocations: 32.98 kB / 0.7216 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/2.134, allocations: 425.7 kB / 0.7221 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/2.134, allocations: 1.125 kB / 0.7221 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/2.134, allocations: 16.02 kB / 0.7221 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/2.134, allocations: 13.48 kB / 0.7221 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/2.135, allocations: 246.1 kB / 0.7223 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/2.137, allocations: 2.122 MB / 0.7244 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/2.137, allocations: 176.1 kB / 0.7246 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/2.137, allocations: 102.2 kB / 0.7247 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01921/2.157, allocations: 8.571 MB / 0.733 GB, free: 18.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/2.157, allocations: 35.12 kB / 0.7331 GB, free: 18.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 3.376e-06/2.157, allocations: 0 / 0.7331 GB, free: 18.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.00115/2.158, allocations: 0.4936 MB / 0.7335 GB, free: 18.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/2.158, allocations: 58.16 kB / 0.7336 GB, free: 17.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/2.158, allocations: 280 kB / 0.7339 GB, free: 17.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/2.158, allocations: 28.52 kB / 0.7339 GB, free: 17.81 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/2.158, allocations: 187.6 kB / 0.7341 GB, free: 17.69 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/2.158, allocations: 79.23 kB / 0.7341 GB, free: 17.63 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/2.158, allocations: 49.28 kB / 0.7342 GB, free: 17.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001421/2.159, allocations: 341.6 kB / 0.7345 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/2.159, allocations: 67.83 kB / 0.7346 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/2.159, allocations: 135 kB / 0.7347 GB, free: 17.22 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/2.159, allocations: 219.8 kB / 0.7349 GB, free: 17.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.159, allocations: 2.188 kB / 0.7349 GB, free: 17.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004983/2.16, allocations: 298.8 kB / 0.7352 GB, free: 17.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/2.16, allocations: 6.75 kB / 0.7352 GB, free: 17.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/2.16, allocations: 5.734 kB / 0.7352 GB, free: 17.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/2.16, allocations: 65.94 kB / 0.7353 GB, free: 17.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/2.16, allocations: 64.34 kB / 0.7353 GB, free: 17.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006462/2.161, allocations: 1.1 MB / 0.7364 GB, free: 16.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/2.161, allocations: 42.8 kB / 0.7365 GB, free: 16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/2.161, allocations: 7.125 kB / 0.7365 GB, free: 16 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (sinkFlueGases.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,airHumidity.C2.b,airHumidity.C1.a,sourceFlueGasesPQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001395/2.161, allocations: 150.8 kB / 0.7366 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/2.162, allocations: 29.56 kB / 0.7366 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/2.162, allocations: 264.4 kB / 0.7369 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/2.162, allocations: 5.531 kB / 0.7369 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/2.162, allocations: 1.938 kB / 0.7369 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/2.162, allocations: 6.891 kB / 0.7369 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/2.163, allocations: 0.6561 MB / 0.7375 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/2.163, allocations: 0 / 0.7375 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/2.163, allocations: 33.52 kB / 0.7376 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/2.163, allocations: 62.44 kB / 0.7376 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/2.163, allocations: 3.188 kB / 0.7376 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005798/2.164, allocations: 1.092 MB / 0.7387 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/2.164, allocations: 0 / 0.7387 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/2.164, allocations: 345.1 kB / 0.739 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-05/2.164, allocations: 117.1 kB / 0.7391 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/2.164, allocations: 1.562 kB / 0.7391 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/2.165, allocations: 11.47 kB / 0.7392 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/2.165, allocations: 12.53 kB / 0.7392 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/2.165, allocations: 6.031 kB / 0.7392 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001562/2.165, allocations: 204.7 kB / 0.7394 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/2.165, allocations: 0 / 0.7394 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001683/2.167, allocations: 413.3 kB / 0.7398 GB, free: 13.97 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002276/2.169, allocations: 1.298 MB / 0.741 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004621/2.169, allocations: 200.3 kB / 0.7412 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/2.169, allocations: 0 / 0.7412 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/2.169, allocations: 94.81 kB / 0.7413 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/2.17, allocations: 86.08 kB / 0.7414 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/2.173, allocations: 3.034 MB / 0.7444 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/2.174, allocations: 0.7627 MB / 0.7451 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001064/2.174, allocations: 27.38 kB / 0.7451 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/2.174, allocations: 92.95 kB / 0.7452 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/2.174, allocations: 0 / 0.7452 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/2.212, allocations: 18.37 MB / 0.7632 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/13.92, allocations: 14.7 kB / 0.7632 GB, free: 9.512 MB / 0.6075 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)