Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.007326/0.007326, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.001685/0.001685, allocations: 189 kB / 16.67 MB, free: 5.961 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8097/0.8097, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 61.86 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1734, allocations: 80.92 MB / 0.6642 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6745/0.8479, allocations: 221.1 MB / 0.8801 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.8581, allocations: 5.71 MB / 0.8856 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.8602, allocations: 39.81 kB / 0.8857 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.8623, allocations: 0.5824 MB / 0.8862 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.8674, allocations: 1.832 MB / 0.888 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.8706, allocations: 1.194 MB / 0.8892 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004637/0.8753, allocations: 2.937 MB / 0.8921 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.8774, allocations: 1.026 MB / 0.8931 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.88, allocations: 1.082 MB / 0.8941 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.8826, allocations: 0.9263 MB / 0.895 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003831/0.883, allocations: 108 kB / 0.8951 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.8861, allocations: 1.43 MB / 0.8965 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006427/0.8868, allocations: 466.8 kB / 0.897 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.8879, allocations: 0.6534 MB / 0.8976 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.8913, allocations: 2.131 MB / 0.8997 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8914, allocations: 4 kB / 0.8997 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8914, allocations: 0 / 0.8997 GB, free: 14.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.454e-05/0.8914, allocations: 0 / 0.8997 GB, free: 14.18 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003031/0.8945, allocations: 1.503 MB / 0.9012 GB, free: 12.63 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.8945, allocations: 9.109 kB / 0.9012 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.8948, allocations: 135.3 kB / 0.9013 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.8968, allocations: 319.3 kB / 0.9016 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.8985, allocations: 0.8592 MB / 0.9024 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.8986, allocations: 66 kB / 0.9025 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.8987, allocations: 87.91 kB / 0.9026 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.9004, allocations: 0.9145 MB / 0.9035 GB, free: 10.19 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.9004, allocations: 0 / 0.9035 GB, free: 10.19 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.9005, allocations: 43.88 kB / 0.9035 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.9005, allocations: 34 kB / 0.9036 GB, free: 10.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.902, allocations: 0.8275 MB / 0.9044 GB, free: 9.289 MB / 0.67 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.006403/0.9084, allocations: 3.505 MB / 0.9078 GB, free: 5.566 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.9093, allocations: 0.5004 MB / 0.9083 GB, free: 5.059 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.9098, allocations: 298.8 kB / 0.9086 GB, free: 4.766 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/0.9101, allocations: 105.5 kB / 0.9087 GB, free: 4.641 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.9101, allocations: 43 kB / 0.9087 GB, free: 4.59 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 4.699e-06/0.9101, allocations: 0 / 0.9087 GB, free: 4.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.004415/0.9146, allocations: 1.868 MB / 0.9105 GB, free: 2.625 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.9146, allocations: 63.84 kB / 0.9106 GB, free: 2.551 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.9159, allocations: 0.8058 MB / 0.9114 GB, free: 1.734 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.543e-05/0.916, allocations: 37.7 kB / 0.9114 GB, free: 1.691 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.9164, allocations: 483.2 kB / 0.9119 GB, free: 1.211 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.9166, allocations: 173.5 kB / 0.912 GB, free: 1.039 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.9169, allocations: 114.2 kB / 0.9121 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.917, allocations: 330 kB / 0.9125 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.9174, allocations: 245.2 kB / 0.9127 GB, free: 360 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.918, allocations: 383.3 kB / 0.9131 GB, free: 15.93 MB / 0.6856 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.003558/0.9215, allocations: 1.535 MB / 0.9146 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.9216, allocations: 0 / 0.9146 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001413/0.923, allocations: 0.7884 MB / 0.9153 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.923, allocations: 8 kB / 0.9153 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.923, allocations: 4 kB / 0.9153 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.9232, allocations: 69.7 kB / 0.9154 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.9239, allocations: 152.2 kB / 0.9156 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.9265, allocations: 3.125 MB / 0.9186 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/0.9275, allocations: 29.86 kB / 0.9186 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.9276, allocations: 24 kB / 0.9187 GB, free: 9.844 MB / 0.6856 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: 14 * 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 (71): * Single equations (assignments): 69 * 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,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005808/0.9281, allocations: 309.8 kB / 0.919 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.9284, allocations: 86.97 kB / 0.919 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.9287, allocations: 100.7 kB / 0.9191 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9287, allocations: 8.062 kB / 0.9191 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.9287, allocations: 4 kB / 0.9191 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.9298, allocations: 0.8387 MB / 0.92 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.9329, allocations: 1.787 MB / 0.9217 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.933, allocations: 0 / 0.9217 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.9336, allocations: 135.8 kB / 0.9218 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.9337, allocations: 40.83 kB / 0.9219 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.9338, allocations: 20 kB / 0.9219 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.935, allocations: 1.594 MB / 0.9235 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.935, allocations: 8.109 kB / 0.9235 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.9367, allocations: 1.097 MB / 0.9245 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.9372, allocations: 236 kB / 0.9248 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.9374, allocations: 23.94 kB / 0.9248 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006989/0.9381, allocations: 35.95 kB / 0.9248 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.9382, allocations: 31.95 kB / 0.9248 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-05/0.9383, allocations: 31.92 kB / 0.9249 GB, free: 3.055 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007261/0.939, allocations: 0.5653 MB / 0.9254 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.939, allocations: 4 kB / 0.9254 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009068/0.9399, allocations: 280 kB / 0.9257 GB, free: 2.215 MB / 0.6856 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 (47): * 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: 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.002159/0.9421, allocations: 1.719 MB / 0.9274 GB, free: 440 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.9434, allocations: 0.8052 MB / 0.9282 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.9434, allocations: 4 kB / 0.9282 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000558/0.944, allocations: 414.4 kB / 0.9286 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.9468, allocations: 0.6131 MB / 0.9292 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009338/0.9561, allocations: 6.981 MB / 0.936 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/0.9568, allocations: 1.095 MB / 0.937 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007752/0.9576, allocations: 211.7 kB / 0.9372 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.9581, allocations: 343.3 kB / 0.9376 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of SimCode: time 1.032e-06/0.9581, allocations: 4 kB / 0.9376 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06101/1.019, allocations: 27.9 MB / 0.9648 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.6, allocations: 6.672 kB / 0.9648 GB, free: 10.1 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)