Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001171/0.001171, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7909/0.7909, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 64.38 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1386, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3823/0.5209, allocations: 187.1 MB / 0.7672 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.5346, allocations: 13.01 MB / 0.7799 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009435/0.5356, allocations: 27.88 kB / 0.7799 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.5368, allocations: 417.3 kB / 0.7803 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.539, allocations: 0.9214 MB / 0.7812 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.5408, allocations: 0.6934 MB / 0.7819 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.5426, allocations: 1.502 MB / 0.7833 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009707/0.5436, allocations: 0.6635 MB / 0.784 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.5469, allocations: 1.708 MB / 0.7856 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.548, allocations: 0.5037 MB / 0.7861 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.5482, allocations: 56 kB / 0.7862 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.5496, allocations: 0.8653 MB / 0.787 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.5499, allocations: 279.2 kB / 0.7873 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.5503, allocations: 390 kB / 0.7877 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.5518, allocations: 1.161 MB / 0.7888 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5518, allocations: 0 / 0.7888 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5518, allocations: 0 / 0.7888 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.5518, allocations: 0 / 0.7888 GB, free: 11.54 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001418/0.5532, allocations: 1.05 MB / 0.7898 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.5533, allocations: 8.031 kB / 0.7898 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.5534, allocations: 106.4 kB / 0.7899 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.5543, allocations: 186.8 kB / 0.7901 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.555, allocations: 0.5208 MB / 0.7906 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/0.5554, allocations: 105.2 kB / 0.7907 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.5554, allocations: 56 kB / 0.7908 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.5565, allocations: 0.7828 MB / 0.7915 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5566, allocations: 7.875 kB / 0.7916 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.5566, allocations: 28 kB / 0.7916 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.5567, allocations: 21 kB / 0.7916 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.5576, allocations: 475.3 kB / 0.7921 GB, free: 8.016 MB / 0.6075 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.003414/0.561, allocations: 4.402 MB / 0.7964 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.5611, allocations: 102.4 kB / 0.7964 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.5612, allocations: 71.59 kB / 0.7965 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.5614, allocations: 97.09 kB / 0.7966 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.5614, allocations: 40.81 kB / 0.7966 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.5614, allocations: 0 / 0.7966 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005974/0.562, allocations: 248.5 kB / 0.7969 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.5621, allocations: 132.8 kB / 0.797 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.5631, allocations: 0.8447 MB / 0.7978 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.5631, allocations: 29.64 kB / 0.7979 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.5634, allocations: 406.9 kB / 0.7983 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.5634, allocations: 51.42 kB / 0.7983 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.5636, allocations: 85.89 kB / 0.7984 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.5637, allocations: 322 kB / 0.7987 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.564, allocations: 116.7 kB / 0.7988 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.5644, allocations: 366 kB / 0.7992 GB, free: 256 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.565, allocations: 449.8 kB / 0.7996 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.565, allocations: 4 kB / 0.7996 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009365/0.566, allocations: 0.5006 MB / 0.8001 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.566, allocations: 8 kB / 0.8001 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.566, allocations: 8 kB / 0.8001 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.566, allocations: 8 kB / 0.8001 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.5663, allocations: 99.83 kB / 0.8002 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.5664, allocations: 27.14 kB / 0.8002 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.567, allocations: 119.6 kB / 0.8003 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.5671, allocations: 27.98 kB / 0.8004 GB, free: 14.9 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.5673, allocations: 225.6 kB / 0.8006 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.5674, allocations: 75.06 kB / 0.8006 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.913e-05/0.5675, allocations: 70.17 kB / 0.8007 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5675, allocations: 4 kB / 0.8007 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5675, allocations: 6.562 kB / 0.8007 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5676, allocations: 4 kB / 0.8007 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.5687, allocations: 1.117 MB / 0.8018 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.5688, allocations: 4 kB / 0.8018 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.5688, allocations: 19.98 kB / 0.8018 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.5689, allocations: 0 / 0.8018 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.5689, allocations: 8 kB / 0.8018 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5689, allocations: 7.938 kB / 0.8019 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5689, allocations: 7.938 kB / 0.8019 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.5692, allocations: 268 kB / 0.8021 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.5694, allocations: 168.1 kB / 0.8023 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.5695, allocations: 8 kB / 0.8023 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.5698, allocations: 15.98 kB / 0.8023 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.5698, allocations: 23.86 kB / 0.8023 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.5699, allocations: 8 kB / 0.8023 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008059/0.5707, allocations: 0.5926 MB / 0.8029 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5707, allocations: 0 / 0.8029 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005178/0.5712, allocations: 159.8 kB / 0.8031 GB, free: 11.97 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000788/0.572, allocations: 0.8903 MB / 0.8039 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005038/0.5725, allocations: 249.2 kB / 0.8042 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5725, allocations: 0 / 0.8042 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.5726, allocations: 47.86 kB / 0.8042 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.5741, allocations: 385.7 kB / 0.8046 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006658/0.5808, allocations: 5.728 MB / 0.8102 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.5812, allocations: 0.937 MB / 0.8111 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004659/0.5817, allocations: 150.1 kB / 0.8112 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.582, allocations: 235.4 kB / 0.8115 GB, free: 3 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.582, allocations: 0 / 0.8115 GB, free: 3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.769/2.351, allocations: 17.81 MB / 0.8289 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/17.74, allocations: 7.453 kB / 0.8289 GB, free: 1.539 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)