Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001809/0.001809, allocations: 104.5 kB / 16.45 MB, free: 6.5 MB / 14.72 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.002352/0.002352, allocations: 210.4 kB / 19.42 MB, free: 3.66 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8361/0.8361, allocations: 133.9 MB / 442.8 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.36 kB / 0.6134 GB, free: 8.746 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1711, allocations: 85.85 MB / 0.6972 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5713/0.7425, allocations: 174.4 MB / 0.8676 GB, free: 10 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006984/0.7495, allocations: 4.31 MB / 0.8718 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007358/0.7502, allocations: 27.75 kB / 0.8718 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.7513, allocations: 369.9 kB / 0.8722 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.7538, allocations: 1.023 MB / 0.8732 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.7561, allocations: 0.8257 MB / 0.874 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.758, allocations: 1.285 MB / 0.8752 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006982/0.7587, allocations: 419.3 kB / 0.8756 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.7603, allocations: 0.7045 MB / 0.8763 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.7615, allocations: 491 kB / 0.8768 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.7617, allocations: 52 kB / 0.8768 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.7635, allocations: 0.9393 MB / 0.8778 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.7638, allocations: 215.3 kB / 0.878 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.7642, allocations: 330.5 kB / 0.8783 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.7662, allocations: 1.149 MB / 0.8794 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7662, allocations: 0 / 0.8794 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7662, allocations: 3.938 kB / 0.8794 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.7662, allocations: 0 / 0.8794 GB, free: 13.88 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001947/0.7681, allocations: 0.9689 MB / 0.8804 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.7682, allocations: 9.109 kB / 0.8804 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.7683, allocations: 86.52 kB / 0.8804 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.77, allocations: 263.3 kB / 0.8807 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/0.771, allocations: 0.4978 MB / 0.8812 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.7711, allocations: 29 kB / 0.8812 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.7712, allocations: 40 kB / 0.8813 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.7726, allocations: 0.6185 MB / 0.8819 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.7726, allocations: 0 / 0.8819 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.7726, allocations: 16 kB / 0.8819 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.7727, allocations: 24.98 kB / 0.8819 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.7742, allocations: 0.5503 MB / 0.8824 GB, free: 10.65 MB / 0.6544 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.004565/0.7788, allocations: 2.27 MB / 0.8846 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.7798, allocations: 278.3 kB / 0.8849 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.7804, allocations: 160.7 kB / 0.8851 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.7804, allocations: 4 kB / 0.8851 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.7805, allocations: 34.56 kB / 0.8851 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 2.344e-06/0.7805, allocations: 0 / 0.8851 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.005486/0.7859, allocations: 1.099 MB / 0.8862 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.786, allocations: 77.11 kB / 0.8863 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/0.7868, allocations: 0.5496 MB / 0.8868 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.7869, allocations: 37.7 kB / 0.8868 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.7871, allocations: 300.1 kB / 0.8871 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.7872, allocations: 51.62 kB / 0.8872 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.7873, allocations: 57.66 kB / 0.8872 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7875, allocations: 354.8 kB / 0.8876 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/0.7881, allocations: 187.8 kB / 0.8877 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007014/0.7888, allocations: 278.1 kB / 0.888 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.7901, allocations: 407.2 kB / 0.8884 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7901, allocations: 0 / 0.8884 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002884/0.793, allocations: 0.728 MB / 0.8891 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.793, allocations: 4 kB / 0.8891 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.793, allocations: 7.625 kB / 0.8891 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007582/0.7938, allocations: 180.8 kB / 0.8893 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.7942, allocations: 75.88 kB / 0.8894 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004673/0.7989, allocations: 2.234 MB / 0.8915 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/0.7996, allocations: 79.64 kB / 0.8916 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.7996, allocations: 8 kB / 0.8916 GB, free: 0.8047 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.7999, allocations: 194.5 kB / 0.8918 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.8001, allocations: 51.66 kB / 0.8919 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.8002, allocations: 52.03 kB / 0.8919 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8002, allocations: 7.938 kB / 0.8919 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8002, allocations: 0 / 0.8919 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8002, allocations: 0 / 0.8919 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.8035, allocations: 1.125 MB / 0.893 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.8035, allocations: 0.875 kB / 0.893 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.8038, allocations: 47.95 kB / 0.8931 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005772/0.8043, allocations: 180.7 kB / 0.8932 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.8044, allocations: 7.938 kB / 0.8932 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003898/0.8083, allocations: 2.193 MB / 0.8954 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8083, allocations: 4.031 kB / 0.8954 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.8109, allocations: 0.6965 MB / 0.8961 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.8112, allocations: 172.6 kB / 0.8962 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.8113, allocations: 7.938 kB / 0.8962 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.8119, allocations: 44.7 kB / 0.8963 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.812, allocations: 15.97 kB / 0.8963 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.812, allocations: 11.98 kB / 0.8963 GB, free: 11.74 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004952/0.8125, allocations: 394.8 kB / 0.8967 GB, free: 11.36 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8125, allocations: 4 kB / 0.8967 GB, free: 11.36 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006884/0.8132, allocations: 183.8 kB / 0.8969 GB, free: 11.18 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003206/0.8164, allocations: 1.307 MB / 0.8981 GB, free: 9.836 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.8181, allocations: 0.5158 MB / 0.8986 GB, free: 9.309 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8181, allocations: 96 / 0.8986 GB, free: 9.309 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007948/0.8189, allocations: 306.8 kB / 0.8989 GB, free: 8.996 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.8205, allocations: 307.1 kB / 0.8992 GB, free: 8.703 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.8327, allocations: 5.079 MB / 0.9042 GB, free: 3.477 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.8332, allocations: 0.8621 MB / 0.905 GB, free: 2.586 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000449/0.8336, allocations: 112.4 kB / 0.9051 GB, free: 2.477 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.8339, allocations: 155.4 kB / 0.9053 GB, free: 2.324 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/0.8339, allocations: 0 / 0.9053 GB, free: 2.324 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05191/0.8858, allocations: 16.98 MB / 0.9219 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.49, allocations: 19.08 kB / 0.9219 GB, free: 1.66 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.225841902996763] Failed to read output from testmodel.py, exit status != 0: 13.594063615993946 13.620251358 12.848999262 Calling exit ...