Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.000831/0.0008308, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0008031/0.0008031, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7395/0.7395, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 14.16 kB / 0.5035 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4229, allocations: 81.57 MB / 0.5831 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1934/0.6163, allocations: 173.3 MB / 0.7524 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008408/0.6248, allocations: 5.383 MB / 0.7576 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000961/0.6257, allocations: 35.75 kB / 0.7577 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.6268, allocations: 389.5 kB / 0.758 GB, free: 13.03 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00298/0.6298, allocations: 1.201 MB / 0.7592 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.6324, allocations: 0.8929 MB / 0.7601 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003422/0.6359, allocations: 2.975 MB / 0.763 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.637, allocations: 0.7302 MB / 0.7637 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.6386, allocations: 0.8635 MB / 0.7646 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.6399, allocations: 0.7939 MB / 0.7653 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.64, allocations: 48 kB / 0.7654 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.6423, allocations: 0.9198 MB / 0.7663 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.6428, allocations: 434.8 kB / 0.7667 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.6432, allocations: 249.1 kB / 0.7669 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.6451, allocations: 1.535 MB / 0.7684 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6451, allocations: 0 / 0.7684 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6451, allocations: 0 / 0.7684 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.6451, allocations: 4 kB / 0.7684 GB, free: 2.359 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002122/0.6473, allocations: 1.305 MB / 0.7697 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6473, allocations: 12.03 kB / 0.7697 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.6475, allocations: 143.3 kB / 0.7699 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.6502, allocations: 0.4942 MB / 0.7703 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.6516, allocations: 0.7856 MB / 0.7711 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.6519, allocations: 137.9 kB / 0.7712 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.6521, allocations: 87.94 kB / 0.7713 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.6542, allocations: 1.198 MB / 0.7725 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.6542, allocations: 0 / 0.7725 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/0.6544, allocations: 36 kB / 0.7725 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.6544, allocations: 37.98 kB / 0.7726 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.6566, allocations: 1.105 MB / 0.7736 GB, free: 12.9 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.006564/0.6632, allocations: 4.351 MB / 0.7779 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.665, allocations: 0.8081 MB / 0.7787 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009669/0.666, allocations: 420.4 kB / 0.7791 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.6662, allocations: 113 kB / 0.7792 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.6662, allocations: 38.56 kB / 0.7792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/0.6662, allocations: 0 / 0.7792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.005726/0.672, allocations: 2.287 MB / 0.7815 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.672, allocations: 55.41 kB / 0.7815 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.6732, allocations: 0.8569 MB / 0.7823 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.6732, allocations: 37.7 kB / 0.7824 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.6736, allocations: 491.3 kB / 0.7828 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.6738, allocations: 165.6 kB / 0.783 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.6738, allocations: 20 kB / 0.783 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.674, allocations: 326 kB / 0.7833 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008814/0.6749, allocations: 389 kB / 0.7837 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.676, allocations: 0.5265 MB / 0.7842 GB, free: 1.613 MB / 0.6075 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.004116/0.6801, allocations: 1.554 MB / 0.7857 GB, free: 48 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6801, allocations: 3.953 kB / 0.7857 GB, free: 44 kB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002264/0.6824, allocations: 1.025 MB / 0.7867 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.6824, allocations: 8.125 kB / 0.7867 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6825, allocations: 4 kB / 0.7868 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.6825, allocations: 8 kB / 0.7868 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009217/0.6834, allocations: 211.7 kB / 0.787 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.6834, allocations: 11.94 kB / 0.787 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.6844, allocations: 104.5 kB / 0.7871 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.6845, allocations: 28 kB / 0.7871 GB, free: 14.64 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005133/0.685, allocations: 309.6 kB / 0.7874 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.6852, allocations: 98.83 kB / 0.7875 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.6854, allocations: 108.7 kB / 0.7876 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6854, allocations: 4 kB / 0.7876 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6854, allocations: 3.938 kB / 0.7876 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001934/0.6874, allocations: 1.067 MB / 0.7886 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004528/0.6919, allocations: 2.206 MB / 0.7908 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6919, allocations: 4 kB / 0.7908 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.6928, allocations: 196.1 kB / 0.791 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.6928, allocations: 11.95 kB / 0.791 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.6929, allocations: 16 kB / 0.791 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.6929, allocations: 4 kB / 0.791 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6929, allocations: 4 kB / 0.791 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.6958, allocations: 1.5 MB / 0.7925 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.6963, allocations: 252 kB / 0.7927 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.6964, allocations: 15.95 kB / 0.7927 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/0.6973, allocations: 108.7 kB / 0.7928 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.6974, allocations: 39.89 kB / 0.7929 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/0.6975, allocations: 31.97 kB / 0.7929 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007922/0.6983, allocations: 0.5888 MB / 0.7935 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6983, allocations: 0 / 0.7935 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008815/0.6992, allocations: 272 kB / 0.7937 GB, free: 7.57 MB / 0.6231 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003701/0.7029, allocations: 2.158 MB / 0.7959 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.7051, allocations: 0.8548 MB / 0.7967 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.7051, allocations: 0 / 0.7967 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.7061, allocations: 420.6 kB / 0.7971 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.7085, allocations: 0.5584 MB / 0.7976 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.7207, allocations: 6.451 MB / 0.8039 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.7215, allocations: 1.114 MB / 0.805 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001126/0.7226, allocations: 259.8 kB / 0.8053 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/0.7232, allocations: 363.3 kB / 0.8056 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of SimCode: time 1.222e-06/0.7232, allocations: 0 / 0.8056 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3293/1.053, allocations: 28.17 MB / 0.8331 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.053, allocations: 270.9 kB / 0.8334 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.372, allocations: 2.953 kB / 0.8334 GB, free: 211.2 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: