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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.01165/0.01165, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.00245/0.00245, allocations: 196.2 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.188/2.188, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.258/1.258, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002449, allocations: 64.97 kB / 0.5809 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2456, allocations: 80.21 MB / 0.6592 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 1.043/1.288, allocations: 190.5 MB / 0.8452 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01679/1.305, allocations: 5.69 MB / 0.8508 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/1.308, allocations: 41.31 kB / 0.8508 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002952/1.311, allocations: 0.5713 MB / 0.8514 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008438/1.32, allocations: 1.827 MB / 0.8531 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005477/1.325, allocations: 1.176 MB / 0.8543 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007303/1.332, allocations: 2.949 MB / 0.8572 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003647/1.336, allocations: 1.126 MB / 0.8583 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004118/1.34, allocations: 1.087 MB / 0.8593 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004016/1.344, allocations: 0.969 MB / 0.8603 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009458/1.345, allocations: 120 kB / 0.8604 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006026/1.351, allocations: 1.446 MB / 0.8618 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001697/1.353, allocations: 0.5611 MB / 0.8623 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00302/1.356, allocations: 0.7273 MB / 0.8631 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008329/1.365, allocations: 2.345 MB / 0.8653 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/1.365, allocations: 0 / 0.8653 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.124e-06/1.365, allocations: 0 / 0.8653 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001063/1.365, allocations: 0 / 0.8653 GB, free: 3.133 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.005961/1.371, allocations: 1.62 MB / 0.8669 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/1.371, allocations: 8.031 kB / 0.8669 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005328/1.371, allocations: 160.2 kB / 0.8671 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/1.375, allocations: 326.2 kB / 0.8674 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/1.378, allocations: 0.9174 MB / 0.8683 GB, free: 8 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/1.379, allocations: 77.98 kB / 0.8684 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/1.379, allocations: 103.9 kB / 0.8685 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00373/1.383, allocations: 1.077 MB / 0.8695 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/1.383, allocations: 0 / 0.8695 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/1.383, allocations: 44 kB / 0.8696 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-05/1.383, allocations: 41.98 kB / 0.8696 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/1.386, allocations: 0.9954 MB / 0.8706 GB, free: 13.66 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.01217/1.399, allocations: 4.213 MB / 0.8747 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/1.4, allocations: 0.5874 MB / 0.8753 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009589/1.401, allocations: 346.5 kB / 0.8756 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/1.402, allocations: 105.5 kB / 0.8757 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.274e-05/1.402, allocations: 39 kB / 0.8757 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 5.75e-06/1.402, allocations: 0 / 0.8757 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.007509/1.409, allocations: 2.209 MB / 0.8779 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.41, allocations: 55.97 kB / 0.8779 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/1.412, allocations: 0.8804 MB / 0.8788 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/1.412, allocations: 37.7 kB / 0.8788 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/1.413, allocations: 0.5224 MB / 0.8793 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/1.413, allocations: 193.1 kB / 0.8795 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/1.413, allocations: 134.6 kB / 0.8797 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.414, allocations: 338 kB / 0.88 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008569/1.414, allocations: 277.8 kB / 0.8802 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.416, allocations: 450.6 kB / 0.8807 GB, free: 2.746 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.006637/1.422, allocations: 1.741 MB / 0.8824 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.422, allocations: 1 kB / 0.8824 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002894/1.425, allocations: 0.9257 MB / 0.8833 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/1.425, allocations: 8.5 kB / 0.8833 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.425, allocations: 8 kB / 0.8833 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/1.426, allocations: 90.47 kB / 0.8834 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.427, allocations: 163.8 kB / 0.8835 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005915/1.433, allocations: 4.642 MB / 0.8881 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.435, allocations: 35.86 kB / 0.8881 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/1.435, allocations: 28 kB / 0.8881 GB, free: 10.6 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.001069/1.436, allocations: 350.5 kB / 0.8885 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004706/1.436, allocations: 98.78 kB / 0.8886 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/1.437, allocations: 113.1 kB / 0.8887 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.437, allocations: 8 kB / 0.8887 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.437, allocations: 0 / 0.8887 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001888/1.439, allocations: 0.7652 MB / 0.8894 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005729/1.445, allocations: 1.981 MB / 0.8914 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.445, allocations: 4 kB / 0.8914 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.446, allocations: 156.2 kB / 0.8915 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/1.446, allocations: 44.77 kB / 0.8916 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/1.446, allocations: 16 kB / 0.8916 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/1.448, allocations: 1.614 MB / 0.8931 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.448, allocations: 4 kB / 0.8932 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/1.451, allocations: 1.231 MB / 0.8944 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009165/1.452, allocations: 251.9 kB / 0.8946 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/1.453, allocations: 15.98 kB / 0.8946 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.454, allocations: 29.08 kB / 0.8946 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.454, allocations: 55.81 kB / 0.8947 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.455, allocations: 27.98 kB / 0.8947 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001556/1.456, allocations: 0.6122 MB / 0.8953 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/1.456, allocations: 0 / 0.8953 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001943/1.458, allocations: 304 kB / 0.8956 GB, free: 2.57 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.004073/1.462, allocations: 1.868 MB / 0.8974 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002663/1.465, allocations: 1.011 MB / 0.8984 GB, free: 15.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.465, allocations: 4 kB / 0.8984 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/1.466, allocations: 455.9 kB / 0.8989 GB, free: 15.14 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005433/1.471, allocations: 0.6509 MB / 0.8995 GB, free: 14.52 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/1.493, allocations: 7.906 MB / 0.9072 GB, free: 6.289 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/1.495, allocations: 1.17 MB / 0.9084 GB, free: 5.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001785/1.497, allocations: 256.3 kB / 0.9086 GB, free: 4.836 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.498, allocations: 383.3 kB / 0.909 GB, free: 4.461 MB / 0.67 GB Notification: Performance of SimCode: time 1.773e-06/1.498, allocations: 0 / 0.909 GB, free: 4.461 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.62, allocations: 31.05 MB / 0.9393 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.87/22.49, allocations: 14.72 kB / 0.9393 GB, free: 5.824 MB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)