Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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/IDEAS 3.0.0/package.mo", uses=false) 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.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007108/0.007108, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001621/0.001621, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8444/0.8444, allocations: 132.2 MB / 422.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.78 kB / 0.5814 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1734, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6801/0.8536, allocations: 190.5 MB / 0.8457 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009715/0.8634, allocations: 5.692 MB / 0.8512 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.8647, allocations: 40.94 kB / 0.8513 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.8662, allocations: 0.5954 MB / 0.8519 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.8708, allocations: 1.895 MB / 0.8537 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.8737, allocations: 1.185 MB / 0.8549 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003451/0.8772, allocations: 2.959 MB / 0.8578 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.8788, allocations: 1.128 MB / 0.8589 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.8808, allocations: 1.111 MB / 0.8599 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.8832, allocations: 0.9588 MB / 0.8609 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003492/0.8835, allocations: 124 kB / 0.861 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.8867, allocations: 1.454 MB / 0.8624 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007643/0.8874, allocations: 0.565 MB / 0.863 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.8888, allocations: 0.7273 MB / 0.8637 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.8924, allocations: 2.345 MB / 0.866 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8924, allocations: 4 kB / 0.866 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8924, allocations: 4 kB / 0.866 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.407e-05/0.8925, allocations: 0 / 0.866 GB, free: 2.68 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003188/0.8957, allocations: 1.612 MB / 0.8676 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.8957, allocations: 8.031 kB / 0.8676 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.8979, allocations: 322.2 kB / 0.8679 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.8996, allocations: 0.9215 MB / 0.8688 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.8996, allocations: 74 kB / 0.8688 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.8998, allocations: 107.9 kB / 0.8689 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.9018, allocations: 1.073 MB / 0.87 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.9019, allocations: 0 / 0.87 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.902, allocations: 43.98 kB / 0.87 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.902, allocations: 45.98 kB / 0.8701 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.9038, allocations: 0.9876 MB / 0.871 GB, free: 13.38 MB / 0.6387 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.006292/0.9101, allocations: 4.215 MB / 0.8752 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.9111, allocations: 0.5913 MB / 0.8757 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.9116, allocations: 346.5 kB / 0.8761 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.9118, allocations: 101.5 kB / 0.8762 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.9119, allocations: 46.91 kB / 0.8762 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.284e-06/0.9119, allocations: 0 / 0.8762 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.004163/0.916, allocations: 2.201 MB / 0.8784 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.9161, allocations: 59.97 kB / 0.8784 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.9172, allocations: 0.8842 MB / 0.8793 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.9173, allocations: 41.7 kB / 0.8793 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.9177, allocations: 0.5184 MB / 0.8798 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.9179, allocations: 197.1 kB / 0.88 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.9181, allocations: 130.6 kB / 0.8801 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9183, allocations: 337.9 kB / 0.8805 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.9188, allocations: 281.8 kB / 0.8807 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.9194, allocations: 450.6 kB / 0.8812 GB, free: 2.457 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.9234, allocations: 1.734 MB / 0.8828 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9235, allocations: 0 / 0.8828 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001602/0.9251, allocations: 0.9218 MB / 0.8837 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.9251, allocations: 13.81 kB / 0.8838 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.9251, allocations: 5.125 kB / 0.8838 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/0.9253, allocations: 98.95 kB / 0.8839 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.9261, allocations: 159.8 kB / 0.884 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.93, allocations: 4.638 MB / 0.8885 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.9311, allocations: 39.2 kB / 0.8886 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.9311, allocations: 28 kB / 0.8886 GB, free: 10.32 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005705/0.9317, allocations: 341.5 kB / 0.8889 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.9319, allocations: 98.84 kB / 0.889 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.9322, allocations: 117.1 kB / 0.8891 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.9322, allocations: 8 kB / 0.8891 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9322, allocations: 0 / 0.8891 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/0.9334, allocations: 0.7691 MB / 0.8899 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.9367, allocations: 1.981 MB / 0.8918 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.9368, allocations: 4 kB / 0.8918 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.9375, allocations: 147.8 kB / 0.892 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.9376, allocations: 45.17 kB / 0.892 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.9377, allocations: 23.98 kB / 0.892 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.939, allocations: 1.614 MB / 0.8936 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.939, allocations: 4 kB / 0.8936 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.9409, allocations: 1.231 MB / 0.8948 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/0.9413, allocations: 251.9 kB / 0.8951 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.9415, allocations: 15.98 kB / 0.8951 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007902/0.9423, allocations: 31.92 kB / 0.8951 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.9424, allocations: 47.81 kB / 0.8952 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/0.9425, allocations: 35.98 kB / 0.8952 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009448/0.9435, allocations: 0.6122 MB / 0.8958 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9435, allocations: 0 / 0.8958 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001112/0.9446, allocations: 300 kB / 0.8961 GB, free: 2.293 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004637/0.9451, allocations: 199.8 kB / 0.8963 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.9467, allocations: 1.011 MB / 0.8973 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9467, allocations: 4 kB / 0.8973 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/0.9474, allocations: 451.4 kB / 0.8977 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.9504, allocations: 0.6498 MB / 0.8983 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.9539, allocations: 2.086 MB / 0.9004 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000892/0.9549, allocations: 1.17 MB / 0.9015 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000881/0.9558, allocations: 256.4 kB / 0.9017 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.956, allocations: 75.44 kB / 0.9018 GB, free: 12.3 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.956, allocations: 3.938 kB / 0.9018 GB, free: 12.29 MB / 0.67 GB Notification: Performance of Templates: time 0.03877/0.9948, allocations: 22.51 MB / 0.9238 GB, free: 6.043 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)