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.007194/0.007194, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001867/0.001867, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7673/0.7673, allocations: 132.2 MB / 422.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 63.81 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1464, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5263/0.6728, allocations: 190.5 MB / 0.8452 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007561/0.6804, allocations: 5.691 MB / 0.8508 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008451/0.6813, allocations: 37.84 kB / 0.8508 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.6825, allocations: 0.5641 MB / 0.8514 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.6854, allocations: 1.602 MB / 0.8529 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.6878, allocations: 1.216 MB / 0.8541 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.6899, allocations: 2.552 MB / 0.8566 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009836/0.6909, allocations: 1.034 MB / 0.8576 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.6922, allocations: 1.056 MB / 0.8587 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.6936, allocations: 0.8557 MB / 0.8595 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.6937, allocations: 110.8 kB / 0.8596 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.696, allocations: 1.551 MB / 0.8611 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.6964, allocations: 0.4973 MB / 0.8616 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.6969, allocations: 0.6418 MB / 0.8622 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.6989, allocations: 2.193 MB / 0.8644 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.699, allocations: 0.9375 kB / 0.8644 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.699, allocations: 2.656 kB / 0.8644 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.699, allocations: 0.875 kB / 0.8644 GB, free: 1.926 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001924/0.7009, allocations: 1.558 MB / 0.8659 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.701, allocations: 11.41 kB / 0.8659 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.7011, allocations: 139 kB / 0.866 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/0.7039, allocations: 486.2 kB / 0.8665 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.7051, allocations: 0.8584 MB / 0.8673 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.7052, allocations: 68.44 kB / 0.8674 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.7053, allocations: 85.8 kB / 0.8675 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.7071, allocations: 1.171 MB / 0.8686 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.7072, allocations: 4.062 kB / 0.8686 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/0.7072, allocations: 38 kB / 0.8687 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.7073, allocations: 39.48 kB / 0.8687 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.7093, allocations: 1.063 MB / 0.8697 GB, free: 0.5312 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.005875/0.7152, allocations: 4.299 MB / 0.8739 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.7171, allocations: 0.7506 MB / 0.8747 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009316/0.7181, allocations: 409.2 kB / 0.8751 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.7183, allocations: 99.81 kB / 0.8752 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.7183, allocations: 40.75 kB / 0.8752 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.7183, allocations: 3.812 kB / 0.8752 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.005366/0.7237, allocations: 2.198 MB / 0.8773 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.7237, allocations: 55.84 kB / 0.8774 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.7246, allocations: 0.8659 MB / 0.8782 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.7247, allocations: 40.39 kB / 0.8783 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.725, allocations: 0.4949 MB / 0.8788 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.7252, allocations: 168.6 kB / 0.8789 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.7254, allocations: 122 kB / 0.879 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7255, allocations: 335.5 kB / 0.8794 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.7264, allocations: 367.9 kB / 0.8797 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.7274, allocations: 0.5136 MB / 0.8802 GB, free: 13.03 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.005848/0.7333, allocations: 2.257 MB / 0.8824 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7333, allocations: 2.781 kB / 0.8824 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002197/0.7355, allocations: 0.9851 MB / 0.8834 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7355, allocations: 10.84 kB / 0.8834 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.7355, allocations: 3.219 kB / 0.8834 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.7355, allocations: 5.406 kB / 0.8834 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/0.7364, allocations: 196.7 kB / 0.8836 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.7365, allocations: 11.88 kB / 0.8836 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.7374, allocations: 63.45 kB / 0.8837 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.7374, allocations: 26.72 kB / 0.8837 GB, free: 12.11 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 (73): * Single equations (assignments): 73 * 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.0004137/0.7379, allocations: 316.5 kB / 0.884 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.738, allocations: 104.6 kB / 0.8841 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.7382, allocations: 103.5 kB / 0.8842 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.7383, allocations: 5.656 kB / 0.8842 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.7383, allocations: 1.594 kB / 0.8842 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001965/0.7402, allocations: 1.021 MB / 0.8852 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/0.7447, allocations: 2.141 MB / 0.8873 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.7447, allocations: 5.344 kB / 0.8873 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/0.7455, allocations: 167.5 kB / 0.8874 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.7455, allocations: 4.344 kB / 0.8875 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.7456, allocations: 19.58 kB / 0.8875 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.7456, allocations: 6.625 kB / 0.8875 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.7456, allocations: 10.28 kB / 0.8875 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.7487, allocations: 1.45 MB / 0.8889 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.7491, allocations: 260 kB / 0.8892 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.7492, allocations: 12.23 kB / 0.8892 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/0.7501, allocations: 71.48 kB / 0.8892 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.7502, allocations: 41.8 kB / 0.8893 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.7502, allocations: 30.62 kB / 0.8893 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007473/0.751, allocations: 0.6022 MB / 0.8899 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.751, allocations: 4 kB / 0.8899 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008519/0.7519, allocations: 271.2 kB / 0.8902 GB, free: 9.043 MB / 0.6544 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 (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.003758/0.7556, allocations: 2.092 MB / 0.8922 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.7577, allocations: 0.8172 MB / 0.893 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7577, allocations: 2.031 kB / 0.893 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.7588, allocations: 393.5 kB / 0.8934 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.7614, allocations: 0.5801 MB / 0.8939 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.7763, allocations: 8.201 MB / 0.9019 GB, free: 420 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008544/0.7772, allocations: 1.106 MB / 0.903 GB, free: 15.28 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000922/0.7782, allocations: 263.7 kB / 0.9033 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/0.7788, allocations: 355.3 kB / 0.9036 GB, free: 14.67 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.7788, allocations: 0 / 0.9036 GB, free: 14.67 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2701/1.049, allocations: 28.76 MB / 0.9317 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.098/10.15, allocations: 15.03 kB / 0.9317 GB, free: 2.449 MB / 0.6856 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/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)