Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001366/0.001366, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001596/0.001596, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.793 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.9096/0.9096, allocations: 134 MB / 446.4 MB, free: 9.969 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.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.002202/0.002202, allocations: 66.5 kB / 0.6185 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1771, allocations: 85.92 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5923/0.7694, allocations: 165.4 MB / 0.8639 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.7871, allocations: 11.97 MB / 0.8756 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.7884, allocations: 43.62 kB / 0.8757 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.79, allocations: 405.3 kB / 0.876 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.7929, allocations: 0.9566 MB / 0.877 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.795, allocations: 0.7317 MB / 0.8777 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002321/0.7974, allocations: 1.513 MB / 0.8792 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.7984, allocations: 499 kB / 0.8797 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.8026, allocations: 1.771 MB / 0.8814 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.8042, allocations: 0.5173 MB / 0.8819 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.8044, allocations: 56 kB / 0.8819 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.806, allocations: 0.7326 MB / 0.8827 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.8064, allocations: 283.1 kB / 0.8829 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.807, allocations: 314.4 kB / 0.8832 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.8091, allocations: 1.168 MB / 0.8844 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.8091, allocations: 4 kB / 0.8844 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8091, allocations: 0 / 0.8844 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.559e-05/0.8091, allocations: 0 / 0.8844 GB, free: 8.75 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001883/0.811, allocations: 1.006 MB / 0.8854 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.8111, allocations: 12.03 kB / 0.8854 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.8112, allocations: 106.4 kB / 0.8855 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009927/0.8122, allocations: 191.3 kB / 0.8856 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.8133, allocations: 495.8 kB / 0.8861 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.8133, allocations: 49.31 kB / 0.8862 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.8134, allocations: 56 kB / 0.8862 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.8147, allocations: 0.8 MB / 0.887 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.8147, allocations: 7.938 kB / 0.887 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/0.8148, allocations: 28 kB / 0.887 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.8148, allocations: 21 kB / 0.8871 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009513/0.8158, allocations: 459.2 kB / 0.8875 GB, free: 5.359 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.004362/0.8201, allocations: 4.007 MB / 0.8914 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.8203, allocations: 110.4 kB / 0.8915 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.8204, allocations: 67.5 kB / 0.8916 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.8205, allocations: 23.98 kB / 0.8916 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.8206, allocations: 34.56 kB / 0.8916 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.8206, allocations: 0 / 0.8916 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0007503/0.8213, allocations: 241 kB / 0.8919 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.8214, allocations: 140.4 kB / 0.892 GB, free: 488 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.8227, allocations: 0.8604 MB / 0.8928 GB, free: 15.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.8227, allocations: 29.7 kB / 0.8929 GB, free: 15.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.8231, allocations: 411.6 kB / 0.8933 GB, free: 15.16 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.8231, allocations: 39.73 kB / 0.8933 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.8233, allocations: 89.97 kB / 0.8934 GB, free: 15.03 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8234, allocations: 322 kB / 0.8937 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.8237, allocations: 108.7 kB / 0.8938 GB, free: 14.61 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.8243, allocations: 0.5078 MB / 0.8943 GB, free: 13.95 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.8249, allocations: 437.9 kB / 0.8947 GB, free: 13.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.8249, allocations: 4 kB / 0.8947 GB, free: 13.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001054/0.826, allocations: 0.5062 MB / 0.8952 GB, free: 12.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.826, allocations: 10.72 kB / 0.8952 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.826, allocations: 8 kB / 0.8952 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.826, allocations: 12 kB / 0.8952 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.8264, allocations: 95.83 kB / 0.8953 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.8264, allocations: 19.88 kB / 0.8953 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/0.827, allocations: 115.3 kB / 0.8955 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.8271, allocations: 24 kB / 0.8955 GB, free: 12.62 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002855/0.8274, allocations: 233.5 kB / 0.8957 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.8276, allocations: 83.47 kB / 0.8958 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.8277, allocations: 66.28 kB / 0.8958 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.8277, allocations: 3.984 kB / 0.8958 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.8277, allocations: 7.938 kB / 0.8959 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.8277, allocations: 7.875 kB / 0.8959 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.8292, allocations: 1.038 MB / 0.8969 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8292, allocations: 4 kB / 0.8969 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.569e-05/0.8293, allocations: 19.94 kB / 0.8969 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.8293, allocations: 0.875 kB / 0.8969 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.8293, allocations: 8 kB / 0.8969 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.8293, allocations: 7.984 kB / 0.8969 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8293, allocations: 4.312 kB / 0.8969 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.8296, allocations: 268.2 kB / 0.8972 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.8299, allocations: 95.42 kB / 0.8973 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.83, allocations: 8 kB / 0.8973 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.8303, allocations: 17.11 kB / 0.8973 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.8304, allocations: 11.92 kB / 0.8973 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.8304, allocations: 8 kB / 0.8973 GB, free: 10.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008854/0.8313, allocations: 0.5888 MB / 0.8979 GB, free: 10.02 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8313, allocations: 0 / 0.8979 GB, free: 10.02 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006022/0.8319, allocations: 159.8 kB / 0.898 GB, free: 9.863 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.8329, allocations: 0.8606 MB / 0.8989 GB, free: 8.953 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005916/0.8335, allocations: 249.4 kB / 0.8991 GB, free: 8.711 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8335, allocations: 0 / 0.8991 GB, free: 8.711 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.8335, allocations: 43.91 kB / 0.8992 GB, free: 8.668 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.8352, allocations: 388.7 kB / 0.8995 GB, free: 8.312 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008067/0.8432, allocations: 5.463 MB / 0.9049 GB, free: 2.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.8436, allocations: 344.5 kB / 0.9052 GB, free: 2.137 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005653/0.8442, allocations: 154.1 kB / 0.9053 GB, free: 1.984 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.8445, allocations: 235.4 kB / 0.9056 GB, free: 1.754 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.8445, allocations: 7.938 kB / 0.9056 GB, free: 1.746 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05603/0.9006, allocations: 20.05 MB / 0.9251 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.72, allocations: 8.562 kB / 0.9252 GB, free: 14.14 MB / 0.7012 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.49669256201014] Failed to read output from testmodel.py, exit status != 0: 12.843961614649743 12.870205853 12.056174721 Calling exit ...