Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_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.007759/0.007759, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001449/0.001449, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7865/0.7865, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 58.75 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 80.93 MB / 0.6642 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5946/0.7442, allocations: 190.5 MB / 0.8502 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009149/0.7534, allocations: 5.692 MB / 0.8557 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.755, allocations: 39.34 kB / 0.8558 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.7568, allocations: 0.5935 MB / 0.8563 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005417/0.7622, allocations: 1.885 MB / 0.8582 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.7658, allocations: 1.193 MB / 0.8594 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005004/0.7709, allocations: 2.955 MB / 0.8622 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.773, allocations: 1.129 MB / 0.8633 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.7755, allocations: 1.105 MB / 0.8644 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.7779, allocations: 0.966 MB / 0.8654 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004195/0.7783, allocations: 120 kB / 0.8655 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/0.7818, allocations: 1.454 MB / 0.8669 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008711/0.7827, allocations: 0.5728 MB / 0.8675 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.7843, allocations: 0.7195 MB / 0.8682 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004094/0.7884, allocations: 2.345 MB / 0.8705 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7884, allocations: 0 / 0.8705 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7884, allocations: 0 / 0.8705 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.271e-05/0.7885, allocations: 0 / 0.8705 GB, free: 12.25 MB / 0.6387 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.003308/0.7918, allocations: 1.62 MB / 0.872 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.7918, allocations: 13.11 kB / 0.872 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000269/0.7921, allocations: 156.2 kB / 0.8722 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.7944, allocations: 326.2 kB / 0.8725 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.7963, allocations: 0.9174 MB / 0.8734 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/0.7964, allocations: 81.94 kB / 0.8735 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.7966, allocations: 96 kB / 0.8736 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.7987, allocations: 1.077 MB / 0.8746 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.7988, allocations: 4 kB / 0.8746 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.7989, allocations: 44 kB / 0.8747 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-05/0.7989, allocations: 37.98 kB / 0.8747 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.8008, allocations: 0.9876 MB / 0.8757 GB, free: 6.789 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.007165/0.808, allocations: 4.221 MB / 0.8798 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.809, allocations: 0.5995 MB / 0.8804 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.8095, allocations: 344.3 kB / 0.8807 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.8097, allocations: 101.5 kB / 0.8808 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.8098, allocations: 47 kB / 0.8808 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.265e-06/0.8098, allocations: 0 / 0.8808 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.004101/0.8139, allocations: 2.2 MB / 0.883 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.8139, allocations: 59.97 kB / 0.8831 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.815, allocations: 0.8765 MB / 0.8839 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/0.8151, allocations: 45.7 kB / 0.884 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.8155, allocations: 0.5224 MB / 0.8845 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.8157, allocations: 193.2 kB / 0.8846 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.8159, allocations: 134.5 kB / 0.8848 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8161, allocations: 330 kB / 0.8851 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.8165, allocations: 285.8 kB / 0.8854 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.8171, allocations: 446.6 kB / 0.8858 GB, free: 11.88 MB / 0.6544 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.003797/0.8209, allocations: 1.738 MB / 0.8875 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.821, allocations: 0 / 0.8875 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001563/0.8225, allocations: 0.93 MB / 0.8884 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8226, allocations: 8 kB / 0.8884 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.8226, allocations: 0 / 0.8884 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.8228, allocations: 102.5 kB / 0.8885 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/0.8235, allocations: 167.8 kB / 0.8887 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.827, allocations: 4.64 MB / 0.8932 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/0.8279, allocations: 40.05 kB / 0.8932 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.828, allocations: 24 kB / 0.8933 GB, free: 3.719 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.0005509/0.8285, allocations: 341.6 kB / 0.8936 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.8288, allocations: 98.88 kB / 0.8937 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.829, allocations: 109.2 kB / 0.8938 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.829, allocations: 7.984 kB / 0.8938 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.829, allocations: 0 / 0.8938 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/0.8301, allocations: 0.773 MB / 0.8945 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.8334, allocations: 1.996 MB / 0.8965 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.8335, allocations: 8 kB / 0.8965 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.8342, allocations: 143.8 kB / 0.8966 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.8343, allocations: 36.83 kB / 0.8967 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.8344, allocations: 16 kB / 0.8967 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.8358, allocations: 1.61 MB / 0.8983 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.8358, allocations: 4 kB / 0.8983 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.8378, allocations: 1.231 MB / 0.8995 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/0.8384, allocations: 259.8 kB / 0.8997 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.8387, allocations: 20 kB / 0.8997 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008109/0.8395, allocations: 27.98 kB / 0.8998 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.8396, allocations: 51.81 kB / 0.8998 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/0.8397, allocations: 27.98 kB / 0.8998 GB, free: 12.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009366/0.8407, allocations: 0.6161 MB / 0.9004 GB, free: 11.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8407, allocations: 4 kB / 0.9004 GB, free: 11.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001156/0.8418, allocations: 300 kB / 0.9007 GB, free: 11.68 MB / 0.67 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.002549/0.8444, allocations: 1.869 MB / 0.9025 GB, free: 9.754 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.846, allocations: 1.011 MB / 0.9035 GB, free: 8.703 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.846, allocations: 4.188 kB / 0.9035 GB, free: 8.699 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006411/0.8467, allocations: 450.3 kB / 0.904 GB, free: 8.246 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.8494, allocations: 0.6415 MB / 0.9046 GB, free: 7.617 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.8608, allocations: 7.913 MB / 0.9123 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008844/0.8617, allocations: 1.17 MB / 0.9135 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008952/0.8626, allocations: 252.4 kB / 0.9137 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005152/0.8631, allocations: 383.3 kB / 0.9141 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of SimCode: time 7.22e-07/0.8631, allocations: 0 / 0.9141 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06724/0.9304, allocations: 30.55 MB / 0.9439 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.78, allocations: 7.688 kB / 0.9439 GB, free: 15.45 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)