Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.008464/0.008464, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.002052/0.002052, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.623/2.623, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.452/1.452, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00255/0.00255, allocations: 71.66 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2867, allocations: 80.21 MB / 0.6592 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 1.244/1.531, allocations: 190.6 MB / 0.8453 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01965/1.55, allocations: 5.708 MB / 0.8509 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/1.554, allocations: 40.84 kB / 0.8509 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00365/1.558, allocations: 0.5777 MB / 0.8515 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009589/1.567, allocations: 1.833 MB / 0.8533 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005751/1.573, allocations: 1.188 MB / 0.8544 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007144/1.58, allocations: 2.948 MB / 0.8573 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/1.583, allocations: 0.9528 MB / 0.8583 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/1.587, allocations: 1.073 MB / 0.8593 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004243/1.591, allocations: 0.9187 MB / 0.8602 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008415/1.592, allocations: 113.6 kB / 0.8603 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006215/1.598, allocations: 1.426 MB / 0.8617 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001331/1.6, allocations: 462.8 kB / 0.8621 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002417/1.602, allocations: 0.6495 MB / 0.8628 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007083/1.609, allocations: 2.142 MB / 0.8649 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/1.609, allocations: 0 / 0.8649 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.127e-06/1.609, allocations: 0 / 0.8649 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.841e-05/1.609, allocations: 0 / 0.8649 GB, free: 3.516 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.005712/1.615, allocations: 1.519 MB / 0.8664 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.218e-05/1.615, allocations: 8.031 kB / 0.8664 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004945/1.616, allocations: 135.2 kB / 0.8665 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/1.62, allocations: 314.3 kB / 0.8668 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/1.623, allocations: 0.8668 MB / 0.8676 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/1.623, allocations: 66.56 kB / 0.8677 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/1.624, allocations: 84 kB / 0.8678 GB, free: 440 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/1.627, allocations: 0.9054 MB / 0.8687 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/1.627, allocations: 0 / 0.8687 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/1.627, allocations: 43.91 kB / 0.8687 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.678e-05/1.627, allocations: 30 kB / 0.8687 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/1.63, allocations: 0.8314 MB / 0.8695 GB, free: 14.61 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.01105/1.641, allocations: 3.499 MB / 0.873 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.642, allocations: 0.4927 MB / 0.8734 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/1.643, allocations: 294.5 kB / 0.8737 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/1.644, allocations: 105.5 kB / 0.8738 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/1.644, allocations: 39 kB / 0.8739 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 5.56e-06/1.644, allocations: 0 / 0.8739 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.007265/1.651, allocations: 1.926 MB / 0.8757 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/1.651, allocations: 59.84 kB / 0.8758 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/1.653, allocations: 0.8097 MB / 0.8766 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.653, allocations: 37.7 kB / 0.8766 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/1.654, allocations: 467.4 kB / 0.8771 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/1.654, allocations: 177.5 kB / 0.8772 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/1.655, allocations: 118.2 kB / 0.8774 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.655, allocations: 330 kB / 0.8777 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/1.656, allocations: 241.2 kB / 0.8779 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/1.656, allocations: 359 kB / 0.8782 GB, free: 5.254 MB / 0.6387 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.006214/1.663, allocations: 1.53 MB / 0.8797 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.663, allocations: 0.75 kB / 0.8797 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002462/1.665, allocations: 0.7883 MB / 0.8805 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/1.665, allocations: 10.19 kB / 0.8805 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.665, allocations: 0 / 0.8805 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/1.666, allocations: 105.9 kB / 0.8806 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.667, allocations: 143.8 kB / 0.8808 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/1.672, allocations: 3.295 MB / 0.884 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/1.674, allocations: 32.14 kB / 0.884 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.674, allocations: 27.94 kB / 0.884 GB, free: 14.97 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: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0009684/1.675, allocations: 297.6 kB / 0.8843 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/1.675, allocations: 90.97 kB / 0.8844 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/1.676, allocations: 104.7 kB / 0.8845 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.676, allocations: 7.984 kB / 0.8845 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.676, allocations: 7.875 kB / 0.8845 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001781/1.677, allocations: 0.8388 MB / 0.8853 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005356/1.683, allocations: 1.788 MB / 0.8871 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.683, allocations: 4.406 kB / 0.8871 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.684, allocations: 131.8 kB / 0.8872 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003872/1.684, allocations: 64.81 kB / 0.8873 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/1.684, allocations: 15.98 kB / 0.8873 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/1.687, allocations: 1.781 MB / 0.889 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.525e-06/1.687, allocations: 12 kB / 0.889 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/1.69, allocations: 1.104 MB / 0.8901 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009425/1.691, allocations: 232 kB / 0.8903 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/1.691, allocations: 16 kB / 0.8904 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.693, allocations: 23.98 kB / 0.8904 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.693, allocations: 51.75 kB / 0.8904 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.693, allocations: 32.05 kB / 0.8905 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001398/1.694, allocations: 0.5615 MB / 0.891 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/1.694, allocations: 0 / 0.891 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001783/1.696, allocations: 284 kB / 0.8913 GB, free: 7.137 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003789/1.7, allocations: 1.725 MB / 0.893 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002303/1.702, allocations: 0.8088 MB / 0.8937 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.702, allocations: 4 kB / 0.8938 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009986/1.703, allocations: 410.2 kB / 0.8941 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/1.708, allocations: 0.6071 MB / 0.8947 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/1.727, allocations: 6.967 MB / 0.9015 GB, free: 12.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.728, allocations: 1.091 MB / 0.9026 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001547/1.73, allocations: 211.7 kB / 0.9028 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009172/1.731, allocations: 343.3 kB / 0.9031 GB, free: 10.6 MB / 0.67 GB Notification: Performance of SimCode: time 2.324e-06/1.731, allocations: 3.938 kB / 0.9031 GB, free: 10.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.842, allocations: 28.54 MB / 0.931 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.36/22.2, allocations: 10.59 kB / 0.931 GB, free: 14.41 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)