Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",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.001042/0.001042, allocations: 100.5 kB / 16.4 MB, free: 6.461 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.001171/0.001171, allocations: 196 kB / 17.34 MB, free: 5.715 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7561/0.7561, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.05 kB / 0.5679 GB, free: 29.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 77.93 MB / 0.644 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.631/0.7667, allocations: 312.7 MB / 0.9494 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03645/0.8032, allocations: 29.36 MB / 0.978 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003707/0.8069, allocations: 79.62 kB / 0.9781 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007329/0.8143, allocations: 2.429 MB / 0.9805 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009394/0.8237, allocations: 3.3 MB / 0.9837 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007012/0.8307, allocations: 2.78 MB / 0.9864 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.8414, allocations: 7.55 MB / 0.9938 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003132/0.8445, allocations: 2.09 MB / 0.9958 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00458/0.8491, allocations: 2.445 MB / 0.9982 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002852/0.852, allocations: 1.535 MB / 0.9997 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006334/0.8527, allocations: 259.9 kB / 1 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006803/0.8595, allocations: 3.617 MB / 1.004 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.8605, allocations: 0.8257 MB / 1.004 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.8627, allocations: 1.392 MB / 1.006 GB, free: 9.383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008423/0.8711, allocations: 5.459 MB / 1.011 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8711, allocations: 4 kB / 1.011 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8711, allocations: 0 / 1.011 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001027/0.8712, allocations: 0 / 1.011 GB, free: 3.902 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.006162/0.8774, allocations: 3.021 MB / 1.014 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.8775, allocations: 8.625 kB / 1.014 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002891/0.8778, allocations: 202.3 kB / 1.014 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006415/0.8842, allocations: 0.9388 MB / 1.015 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.8945, allocations: 5.759 MB / 1.021 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.8946, allocations: 106.6 kB / 1.021 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.8948, allocations: 132 kB / 1.021 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/0.898, allocations: 1.586 MB / 1.022 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.8981, allocations: 4 kB / 1.022 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.8982, allocations: 56 kB / 1.023 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/0.8983, allocations: 50.5 kB / 1.023 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.9016, allocations: 1.325 MB / 1.024 GB, free: 6.508 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.9117, allocations: 7.623 MB / 1.031 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.9137, allocations: 0.6831 MB / 1.032 GB, free: 13.65 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/0.9144, allocations: 256.8 kB / 1.032 GB, free: 13.4 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/0.9147, allocations: 194.2 kB / 1.032 GB, free: 13.17 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.9147, allocations: 38.56 kB / 1.032 GB, free: 13.12 MB / 0.795 GB Notification: Performance of pre-optimization done (n=35): time 2.525e-06/0.9147, allocations: 0 / 1.032 GB, free: 13.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=35): time 0.002813/0.9176, allocations: 1.042 MB / 1.033 GB, free: 12.04 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.9176, allocations: 63.33 kB / 1.034 GB, free: 11.96 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/0.9209, allocations: 2.361 MB / 1.036 GB, free: 9.582 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-05/0.9211, allocations: 37.7 kB / 1.036 GB, free: 9.539 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008204/0.9219, allocations: 0.9743 MB / 1.037 GB, free: 8.555 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.922, allocations: 142.8 kB / 1.037 GB, free: 8.414 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.9224, allocations: 250.4 kB / 1.037 GB, free: 8.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.9225, allocations: 349.9 kB / 1.038 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.9237, allocations: 0.5126 MB / 1.038 GB, free: 7.297 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.9252, allocations: 0.7934 MB / 1.039 GB, free: 6.383 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.9272, allocations: 1.124 MB / 1.04 GB, free: 5.164 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.9273, allocations: 0 / 1.04 GB, free: 5.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003471/0.9307, allocations: 1.635 MB / 1.042 GB, free: 3.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.9308, allocations: 12.06 kB / 1.042 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.9308, allocations: 8 kB / 1.042 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.931, allocations: 36.84 kB / 1.042 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.9322, allocations: 235.6 kB / 1.042 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.9333, allocations: 1.572 MB / 1.043 GB, free: 1.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.9352, allocations: 246.7 kB / 1.044 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/0.9353, allocations: 43.98 kB / 1.044 GB, free: 1.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001957/0.9373, allocations: 1.014 MB / 1.045 GB, free: 204 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001342/0.9386, allocations: 0.7699 MB / 1.045 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00194/0.9406, allocations: 1.112 MB / 1.046 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.9406, allocations: 0 / 1.046 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.00332/0.9439, allocations: 1.624 MB / 1.048 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.944, allocations: 8 kB / 1.048 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.944, allocations: 8 kB / 1.048 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.299e-05/0.9441, allocations: 32.84 kB / 1.048 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.9452, allocations: 236.1 kB / 1.048 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.9463, allocations: 1.577 MB / 1.05 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.9483, allocations: 163.5 kB / 1.05 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/0.9484, allocations: 39.98 kB / 1.05 GB, free: 10.25 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002805/0.9487, allocations: 236 kB / 1.05 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.949, allocations: 218.5 kB / 1.05 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.9508, allocations: 0.764 MB / 1.051 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.9508, allocations: 4 kB / 1.051 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.9508, allocations: 0 / 1.051 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.9509, allocations: 3.984 kB / 1.051 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.9544, allocations: 2.176 MB / 1.053 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.9544, allocations: 0 / 1.053 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.9551, allocations: 100.1 kB / 1.053 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.938e-05/0.9552, allocations: 28.84 kB / 1.053 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.9553, allocations: 8 kB / 1.053 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009604/0.9562, allocations: 1.556 MB / 1.055 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9562, allocations: 4.031 kB / 1.055 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.958, allocations: 0.8948 MB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/0.9586, allocations: 367.5 kB / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.9588, allocations: 12 kB / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.96, allocations: 67.92 kB / 1.056 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.96, allocations: 27.91 kB / 1.056 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.9601, allocations: 19.98 kB / 1.056 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002495/0.9626, allocations: 1.639 MB / 1.058 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9626, allocations: 3.938 kB / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002261/0.9648, allocations: 0.897 MB / 1.059 GB, free: 0.8672 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2862/1.251, allocations: 1.78 MB / 1.061 GB, free: 329.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004149/1.255, allocations: 1.827 MB / 1.062 GB, free: 328.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.255, allocations: 5.406 kB / 1.062 GB, free: 328.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008427/1.256, allocations: 348 kB / 1.063 GB, free: 328.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006829/1.263, allocations: 1.238 MB / 1.064 GB, free: 328.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03206/1.295, allocations: 14.78 MB / 1.078 GB, free: 321.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/1.297, allocations: 1.531 MB / 1.08 GB, free: 320.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002553/1.299, allocations: 477 kB / 1.08 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.3, allocations: 0.8017 MB / 1.081 GB, free: 320.1 MB / 0.8106 GB Notification: Performance of SimCode: time 1.342e-06/1.3, allocations: 3.969 kB / 1.081 GB, free: 320.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08128/1.382, allocations: 56.22 MB / 1.136 GB, free: 273.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.86, allocations: 22.44 kB / 1.136 GB, free: 273.3 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)