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.008398/0.008398, allocations: 104.7 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.001797/0.001797, 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 1.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7886/0.7886, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 65.84 kB / 0.5851 GB, free: 22.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1509, allocations: 80.93 MB / 0.6642 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5782/0.7291, allocations: 190.5 MB / 0.8502 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.7396, allocations: 5.685 MB / 0.8557 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.7419, allocations: 43.38 kB / 0.8558 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.7441, allocations: 0.5715 MB / 0.8563 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.7497, allocations: 1.825 MB / 0.8581 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.7531, allocations: 1.179 MB / 0.8593 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004216/0.7573, allocations: 2.946 MB / 0.8621 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.7592, allocations: 1.123 MB / 0.8632 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.7616, allocations: 1.086 MB / 0.8643 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.764, allocations: 0.9693 MB / 0.8652 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004077/0.7644, allocations: 124 kB / 0.8654 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003345/0.7678, allocations: 1.442 MB / 0.8668 GB, free: 44 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009089/0.7687, allocations: 0.5611 MB / 0.8673 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.7702, allocations: 0.7273 MB / 0.868 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004461/0.7747, allocations: 2.345 MB / 0.8703 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7747, allocations: 8 kB / 0.8703 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7747, allocations: 0 / 0.8703 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.414e-05/0.7748, allocations: 0 / 0.8703 GB, free: 12.39 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.003757/0.7786, allocations: 1.619 MB / 0.8719 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.7787, allocations: 9.109 kB / 0.8719 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003312/0.779, allocations: 168.1 kB / 0.8721 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.7813, allocations: 322.2 kB / 0.8724 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.7833, allocations: 0.9097 MB / 0.8733 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/0.7834, allocations: 81.92 kB / 0.8733 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.7836, allocations: 108 kB / 0.8734 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.7856, allocations: 1.077 MB / 0.8745 GB, free: 8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.7856, allocations: 0.6875 kB / 0.8745 GB, free: 8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.7857, allocations: 40 kB / 0.8745 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.7858, allocations: 41.98 kB / 0.8746 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.7875, allocations: 0.9876 MB / 0.8755 GB, free: 6.934 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.006898/0.7944, allocations: 4.217 MB / 0.8797 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.7954, allocations: 0.5919 MB / 0.8802 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.7959, allocations: 342.5 kB / 0.8806 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.7961, allocations: 109.5 kB / 0.8807 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.7962, allocations: 44.12 kB / 0.8807 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 3.005e-06/0.7962, allocations: 0 / 0.8807 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.004409/0.8006, allocations: 2.208 MB / 0.8829 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.8007, allocations: 55.97 kB / 0.8829 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.8019, allocations: 0.8804 MB / 0.8838 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.802, allocations: 37.7 kB / 0.8838 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.8024, allocations: 0.5223 MB / 0.8843 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.8026, allocations: 193.2 kB / 0.8845 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.8028, allocations: 134.4 kB / 0.8846 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.803, allocations: 337.9 kB / 0.885 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.8035, allocations: 285.8 kB / 0.8852 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.8041, allocations: 442.7 kB / 0.8857 GB, free: 12.02 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.003894/0.808, allocations: 1.737 MB / 0.8874 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.808, allocations: 4 kB / 0.8874 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001551/0.8096, allocations: 0.9226 MB / 0.8883 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8096, allocations: 8 kB / 0.8883 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8096, allocations: 4 kB / 0.8883 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.8098, allocations: 98.98 kB / 0.8884 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.8105, allocations: 167.7 kB / 0.8885 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003836/0.8144, allocations: 4.632 MB / 0.893 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/0.8153, allocations: 39.91 kB / 0.8931 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.8154, allocations: 27.94 kB / 0.8931 GB, free: 3.867 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.0005744/0.816, allocations: 341.6 kB / 0.8934 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.8162, allocations: 102.9 kB / 0.8935 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.8165, allocations: 109.2 kB / 0.8936 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.8165, allocations: 11.88 kB / 0.8936 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8165, allocations: 0 / 0.8936 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/0.8176, allocations: 0.7691 MB / 0.8944 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.8211, allocations: 1.988 MB / 0.8963 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.8211, allocations: 7.984 kB / 0.8963 GB, free: 392 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.8218, allocations: 147.8 kB / 0.8965 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.8219, allocations: 45.23 kB / 0.8965 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.8219, allocations: 16 kB / 0.8965 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.8232, allocations: 1.606 MB / 0.8981 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.8233, allocations: 7.938 kB / 0.8981 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.8251, allocations: 1.231 MB / 0.8993 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/0.8257, allocations: 255.8 kB / 0.8996 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.8258, allocations: 19.98 kB / 0.8996 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.8266, allocations: 29.2 kB / 0.8996 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.8267, allocations: 55.81 kB / 0.8997 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-05/0.8268, allocations: 31.98 kB / 0.8997 GB, free: 12.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008546/0.8277, allocations: 0.6083 MB / 0.9003 GB, free: 12.13 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8277, allocations: 0 / 0.9003 GB, free: 12.13 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001029/0.8287, allocations: 304 kB / 0.9006 GB, free: 11.83 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.002441/0.8312, allocations: 1.866 MB / 0.9024 GB, free: 9.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.8328, allocations: 1.015 MB / 0.9034 GB, free: 8.855 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.8328, allocations: 0 / 0.9034 GB, free: 8.855 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.8335, allocations: 451.8 kB / 0.9038 GB, free: 8.402 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.8364, allocations: 0.6326 MB / 0.9044 GB, free: 7.773 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.8489, allocations: 7.932 MB / 0.9122 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.8503, allocations: 1.166 MB / 0.9133 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00118/0.8515, allocations: 252.4 kB / 0.9136 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.8522, allocations: 379.3 kB / 0.9139 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of SimCode: time 9.51e-07/0.8522, allocations: 4 kB / 0.9139 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07065/0.9229, allocations: 31.06 MB / 0.9443 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.75, allocations: 15.5 kB / 0.9443 GB, free: 15.07 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)