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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8866/0.8866, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.5 MB / 395.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009737, allocations: 97.17 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.773e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.455, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.399/5.854, allocations: 1.882 GB / 2.516 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004629/5.855, allocations: 93.05 kB / 2.516 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.35/8.204, allocations: 458.9 MB / 2.964 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/8.204, allocations: 6.75 kB / 2.964 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000151/8.205, allocations: 28 kB / 2.964 GB, free: 151.4 MB / 0.6823 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.003913/8.209, allocations: 1.239 MB / 2.965 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/8.209, allocations: 7.094 kB / 2.965 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/8.211, allocations: 305.4 kB / 2.965 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/8.213, allocations: 0.8522 MB / 2.966 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/8.214, allocations: 27.59 kB / 2.966 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/8.214, allocations: 58.19 kB / 2.966 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001576/8.215, allocations: 0.7157 MB / 2.967 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/8.217, allocations: 0.822 MB / 2.968 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/8.217, allocations: 0 / 2.968 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/8.217, allocations: 7.641 kB / 2.968 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/8.217, allocations: 31 kB / 2.968 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/8.223, allocations: 3.272 MB / 2.971 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/8.224, allocations: 440.9 kB / 2.971 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/8.224, allocations: 252.3 kB / 2.972 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/8.225, allocations: 103 kB / 2.972 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/8.225, allocations: 46.44 kB / 2.972 GB, free: 149 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.605e-06/8.225, allocations: 0 / 2.972 GB, free: 149 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.003097/8.228, allocations: 1.303 MB / 2.973 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/8.228, allocations: 59.64 kB / 2.973 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/8.229, allocations: 0.5215 MB / 2.974 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/8.229, allocations: 29.67 kB / 2.974 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/8.229, allocations: 492.3 kB / 2.974 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/8.229, allocations: 167.3 kB / 2.974 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/8.229, allocations: 0 / 2.974 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001214/8.229, allocations: 379.6 kB / 2.975 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/8.23, allocations: 202 kB / 2.975 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/8.23, allocations: 346.5 kB / 2.975 GB, free: 147.6 MB / 0.6823 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.00254/8.233, allocations: 0.8971 MB / 2.976 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/8.233, allocations: 0 / 2.976 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00127/8.234, allocations: 0.6821 MB / 2.977 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/8.234, allocations: 3.969 kB / 2.977 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/8.234, allocations: 7.844 kB / 2.977 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/8.234, allocations: 60.39 kB / 2.977 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/8.235, allocations: 135.6 kB / 2.977 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/8.237, allocations: 2.655 MB / 2.98 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/8.238, allocations: 50.81 kB / 2.98 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/8.238, allocations: 23.97 kB / 2.98 GB, free: 145 MB / 0.6823 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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002585/8.238, allocations: 121.2 kB / 2.98 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001065/8.24, allocations: 0.5262 MB / 2.98 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/8.24, allocations: 76.44 kB / 2.98 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/8.24, allocations: 85.44 kB / 2.98 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/8.24, allocations: 3.938 kB / 2.98 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/8.24, allocations: 0 / 2.98 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007829/8.241, allocations: 0.7567 MB / 2.981 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/8.244, allocations: 1.542 MB / 2.983 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/8.244, allocations: 0 / 2.983 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005478/8.245, allocations: 122.3 kB / 2.983 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/8.245, allocations: 30.09 kB / 2.983 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/8.245, allocations: 8.312 kB / 2.983 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009674/8.246, allocations: 1.376 MB / 2.984 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/8.246, allocations: 3.625 kB / 2.984 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/8.247, allocations: 1.102 MB / 2.985 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/8.247, allocations: 219.6 kB / 2.985 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/8.248, allocations: 3.812 kB / 2.985 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/8.249, allocations: 54.05 kB / 2.985 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/8.249, allocations: 44.97 kB / 2.986 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/8.249, allocations: 26.77 kB / 2.986 GB, free: 142 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005639/8.249, allocations: 410.3 kB / 2.986 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.673e-06/8.249, allocations: 0.5625 kB / 2.986 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001569/8.251, allocations: 353.1 kB / 2.986 GB, free: 141.9 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003631/8.255, allocations: 3.856 MB / 2.99 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001145/8.256, allocations: 0.6996 MB / 2.991 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/8.256, allocations: 0 / 2.991 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004079/8.256, allocations: 351.4 kB / 2.991 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/8.258, allocations: 451 kB / 2.991 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/8.262, allocations: 1.523 MB / 2.993 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/8.262, allocations: 1.111 MB / 2.994 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008133/8.263, allocations: 186 kB / 2.994 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/8.263, allocations: 345.8 kB / 2.995 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/8.263, allocations: 3.391 kB / 2.995 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06602/8.329, allocations: 31.26 MB / 3.025 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/8.33, allocations: 192.6 kB / 3.025 GB, free: 131 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/11.61, allocations: 0 / 3.025 GB, free: 131 MB / 0.6823 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/linux/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)