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.004388/0.004388, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001467/0.001467, allocations: 189.8 kB / 16.67 MB, free: 5.973 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9321/0.9321, allocations: 135.5 MB / 426.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 63.91 kB / 0.5858 GB, free: 3.098 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3263, allocations: 81.03 MB / 0.6649 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1921/0.5185, allocations: 190.4 MB / 0.8509 GB, free: 1.699 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009143/0.5277, allocations: 5.691 MB / 0.8564 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.5287, allocations: 43.75 kB / 0.8565 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.5301, allocations: 0.5708 MB / 0.857 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.5339, allocations: 1.82 MB / 0.8588 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.5365, allocations: 1.187 MB / 0.86 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003373/0.5399, allocations: 2.951 MB / 0.8629 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.5413, allocations: 1.132 MB / 0.864 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.5428, allocations: 1.055 MB / 0.865 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.5445, allocations: 0.9628 MB / 0.8659 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.5447, allocations: 124 kB / 0.8661 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.5473, allocations: 1.442 MB / 0.8675 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005524/0.5479, allocations: 0.5689 MB / 0.868 GB, free: 100 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.3165/0.8644, allocations: 0.7233 MB / 0.8687 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003355/0.8678, allocations: 2.343 MB / 0.871 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8678, allocations: 0 / 0.871 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8678, allocations: 1.344 kB / 0.871 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.8678, allocations: 0 / 0.871 GB, free: 6.496 MB / 0.6856 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.002242/0.8701, allocations: 1.657 MB / 0.8726 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.8701, allocations: 9.594 kB / 0.8726 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.8703, allocations: 161.8 kB / 0.8728 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.8721, allocations: 336.1 kB / 0.8731 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.8733, allocations: 0.9222 MB / 0.874 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.8734, allocations: 76.25 kB / 0.8741 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.8736, allocations: 98 kB / 0.8742 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.8753, allocations: 1.078 MB / 0.8752 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.8753, allocations: 1.594 kB / 0.8752 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.8754, allocations: 44.19 kB / 0.8753 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.8755, allocations: 45.8 kB / 0.8753 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.877, allocations: 0.9915 MB / 0.8763 GB, free: 5.133 MB / 0.6856 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.005321/0.8824, allocations: 4.225 MB / 0.8804 GB, free: 19.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008821/0.8833, allocations: 0.5918 MB / 0.881 GB, free: 19.39 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.8837, allocations: 346 kB / 0.8813 GB, free: 19.38 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.8839, allocations: 104 kB / 0.8814 GB, free: 19.29 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.884, allocations: 45.47 kB / 0.8815 GB, free: 19.25 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 1.943e-06/0.884, allocations: 0.9062 kB / 0.8815 GB, free: 19.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55): time 0.003611/0.8876, allocations: 2.219 MB / 0.8836 GB, free: 18.44 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.8877, allocations: 57.5 kB / 0.8837 GB, free: 18.38 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.8886, allocations: 0.883 MB / 0.8846 GB, free: 18.24 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.8887, allocations: 42.67 kB / 0.8846 GB, free: 18.21 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.889, allocations: 0.5266 MB / 0.8851 GB, free: 17.97 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.8892, allocations: 200.6 kB / 0.8853 GB, free: 17.84 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.8894, allocations: 132.3 kB / 0.8854 GB, free: 17.82 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8895, allocations: 333.2 kB / 0.8857 GB, free: 17.52 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.8899, allocations: 285.7 kB / 0.886 GB, free: 17.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.8905, allocations: 448.8 kB / 0.8864 GB, free: 17.36 MB / 0.7012 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.003611/0.8941, allocations: 1.735 MB / 0.8881 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8941, allocations: 0.9062 kB / 0.8881 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00136/0.8955, allocations: 0.9328 MB / 0.889 GB, free: 16.99 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8955, allocations: 9.391 kB / 0.8891 GB, free: 16.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8955, allocations: 3.5 kB / 0.8891 GB, free: 16.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.8957, allocations: 100.2 kB / 0.8892 GB, free: 16.97 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.8964, allocations: 165.1 kB / 0.8893 GB, free: 16.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.8998, allocations: 4.637 MB / 0.8938 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.9006, allocations: 36.23 kB / 0.8939 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.9006, allocations: 24.44 kB / 0.8939 GB, free: 12.93 MB / 0.7012 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.0004655/0.9011, allocations: 348.4 kB / 0.8942 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.9012, allocations: 109 kB / 0.8943 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.9014, allocations: 107.3 kB / 0.8944 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.9014, allocations: 7.469 kB / 0.8944 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.9014, allocations: 9.078 kB / 0.8945 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009978/0.9024, allocations: 0.767 MB / 0.8952 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.9051, allocations: 1.983 MB / 0.8971 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.9051, allocations: 3.406 kB / 0.8971 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.9058, allocations: 150.8 kB / 0.8973 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-05/0.9059, allocations: 39.45 kB / 0.8973 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.9059, allocations: 18.12 kB / 0.8973 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.9071, allocations: 1.606 MB / 0.8989 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9071, allocations: 4.469 kB / 0.8989 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.9087, allocations: 1.244 MB / 0.9001 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.909, allocations: 255.6 kB / 0.9004 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.9091, allocations: 17.28 kB / 0.9004 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/0.9098, allocations: 31.27 kB / 0.9004 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.9099, allocations: 46.09 kB / 0.9005 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.91, allocations: 35.44 kB / 0.9005 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005961/0.9106, allocations: 0.6126 MB / 0.9011 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6.51e-07/0.9106, allocations: 0.8438 kB / 0.9011 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007868/0.9114, allocations: 307.8 kB / 0.9014 GB, free: 10.12 MB / 0.7012 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.00194/0.9133, allocations: 1.883 MB / 0.9032 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.9146, allocations: 1.016 MB / 0.9042 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.9146, allocations: 3.125 kB / 0.9042 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.9151, allocations: 449.7 kB / 0.9047 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.9176, allocations: 0.649 MB / 0.9053 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008406/0.926, allocations: 7.946 MB / 0.913 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.9266, allocations: 1.171 MB / 0.9142 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007097/0.9274, allocations: 249.7 kB / 0.9144 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.9278, allocations: 382.9 kB / 0.9148 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of SimCode: time 2.21e-07/0.9278, allocations: 0 / 0.9148 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.857/4.785, allocations: 30.55 MB / 0.9446 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/18, allocations: 30.36 kB / 0.9447 GB, free: 12.54 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)