Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007798/0.0007798, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8931/0.8931, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001435/0.001435, allocations: 229.8 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.69/0.69, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.319e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3646/0.3646, allocations: 147.7 MB / 0.7906 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004701/0.3693, allocations: 5.987 MB / 0.7964 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.3697, allocations: 19.81 kB / 0.7964 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005115/0.3702, allocations: 170.7 kB / 0.7966 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.372, allocations: 0.8705 MB / 0.7974 GB, free: 284 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007802/0.3728, allocations: 368.2 kB / 0.7978 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006427/0.3734, allocations: 0.7172 MB / 0.7985 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.3737, allocations: 220.5 kB / 0.7987 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/0.3747, allocations: 0.6578 MB / 0.7993 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.3749, allocations: 251.3 kB / 0.7996 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.3749, allocations: 24 kB / 0.7996 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.3754, allocations: 303.1 kB / 0.7999 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.3755, allocations: 111.6 kB / 0.8 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.3756, allocations: 115.7 kB / 0.8001 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.3761, allocations: 486.5 kB / 0.8006 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3761, allocations: 0 / 0.8006 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3761, allocations: 0 / 0.8006 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3761, allocations: 4 kB / 0.8006 GB, free: 13.05 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006064/0.3767, allocations: 0.5481 MB / 0.8011 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3767, allocations: 13.94 kB / 0.8011 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.3768, allocations: 63.19 kB / 0.8012 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.377, allocations: 63.67 kB / 0.8013 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.3774, allocations: 260 kB / 0.8015 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.3774, allocations: 20.66 kB / 0.8015 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.3774, allocations: 24 kB / 0.8015 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3778, allocations: 317.1 kB / 0.8018 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3778, allocations: 3.938 kB / 0.8018 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.3778, allocations: 16.64 kB / 0.8019 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3778, allocations: 8 kB / 0.8019 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.3781, allocations: 197.8 kB / 0.8021 GB, free: 11.45 MB / 0.6355 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.0009647/0.379, allocations: 1.197 MB / 0.8032 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3792, allocations: 114.5 kB / 0.8033 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.3793, allocations: 84.8 kB / 0.8034 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.3796, allocations: 75.7 kB / 0.8035 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.3796, allocations: 38.5 kB / 0.8035 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.3796, allocations: 4 kB / 0.8035 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0006198/0.3802, allocations: 274.7 kB / 0.8038 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3803, allocations: 51.41 kB / 0.8038 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.3805, allocations: 316.5 kB / 0.8041 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3805, allocations: 25.7 kB / 0.8042 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.3806, allocations: 184.2 kB / 0.8043 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.3806, allocations: 59.5 kB / 0.8044 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.3807, allocations: 37.7 kB / 0.8044 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.3807, allocations: 334.8 kB / 0.8048 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-05/0.3808, allocations: 59.95 kB / 0.8048 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.381, allocations: 190.1 kB / 0.805 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.3811, allocations: 174.2 kB / 0.8052 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3811, allocations: 0 / 0.8052 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002458/0.3814, allocations: 222.3 kB / 0.8054 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3814, allocations: 11.94 kB / 0.8054 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3814, allocations: 0 / 0.8054 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3814, allocations: 8.156 kB / 0.8054 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3815, allocations: 35.92 kB / 0.8054 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3815, allocations: 4 kB / 0.8054 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.3816, allocations: 25.2 kB / 0.8055 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3817, allocations: 12 kB / 0.8055 GB, free: 7.773 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.3818, allocations: 142.5 kB / 0.8056 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.3818, allocations: 35.75 kB / 0.8056 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.3821, allocations: 218.4 kB / 0.8058 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3821, allocations: 0 / 0.8058 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3821, allocations: 0 / 0.8058 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3821, allocations: 0 / 0.8058 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.3827, allocations: 0.6264 MB / 0.8065 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3827, allocations: 8.219 kB / 0.8065 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.3828, allocations: 31.92 kB / 0.8065 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3828, allocations: 7.984 kB / 0.8065 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3828, allocations: 0 / 0.8065 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3828, allocations: 4 kB / 0.8065 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3828, allocations: 4 kB / 0.8065 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.3831, allocations: 333.2 kB / 0.8068 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.3831, allocations: 47.72 kB / 0.8069 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3831, allocations: 12 kB / 0.8069 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.3832, allocations: 4 kB / 0.8069 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3833, allocations: 23.91 kB / 0.8069 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3833, allocations: 10.56 kB / 0.8069 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001365/0.3834, allocations: 219.1 kB / 0.8071 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3834, allocations: 0 / 0.8071 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002606/0.3837, allocations: 75.88 kB / 0.8072 GB, free: 5.879 MB / 0.6355 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005776/0.3842, allocations: 0.9104 MB / 0.8081 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.3845, allocations: 152 kB / 0.8082 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3845, allocations: 0 / 0.8082 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/0.3846, allocations: 83.81 kB / 0.8083 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.3851, allocations: 144.9 kB / 0.8085 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.3875, allocations: 2.816 MB / 0.8112 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3876, allocations: 171.8 kB / 0.8114 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.3878, allocations: 58.94 kB / 0.8114 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3879, allocations: 96.45 kB / 0.8115 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/0.3879, allocations: 0 / 0.8115 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.4102, allocations: 9.325 MB / 0.8206 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/7.148, allocations: 6.344 kB / 0.8206 GB, free: 8.273 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.850309061817825] Failed to read output from testmodel.py, exit status != 0: 7.231439312919974 7.238962946 6.860997992 Calling exit ...