Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.008119/0.008119, allocations: 102.8 kB / 15.73 MB, free: 5.586 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.001893/0.001893, allocations: 188.4 kB / 16.67 MB, free: 5.523 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8231/0.8231, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 60.66 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1557, allocations: 80.92 MB / 0.6641 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02648/0.1823, allocations: 26.26 MB / 0.6898 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00966/0.192, allocations: 7.127 MB / 0.6968 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.1932, allocations: 39.75 kB / 0.6968 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.1944, allocations: 377.5 kB / 0.6971 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.198, allocations: 1.112 MB / 0.6982 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.2007, allocations: 0.9548 MB / 0.6992 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002834/0.2036, allocations: 2.084 MB / 0.7012 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.2047, allocations: 0.6163 MB / 0.7018 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.2067, allocations: 0.7441 MB / 0.7025 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000951/0.2077, allocations: 0.5366 MB / 0.7031 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.2079, allocations: 56 kB / 0.7031 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.2096, allocations: 0.811 MB / 0.7039 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.2099, allocations: 179.3 kB / 0.7041 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006214/0.2105, allocations: 382.1 kB / 0.7044 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.2124, allocations: 1.208 MB / 0.7056 GB, free: 11.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2124, allocations: 4 kB / 0.7056 GB, free: 11.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2124, allocations: 0 / 0.7056 GB, free: 11.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.707e-05/0.2125, allocations: 3.984 kB / 0.7056 GB, free: 11.77 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.00169/0.2142, allocations: 1.047 MB / 0.7066 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2142, allocations: 13.11 kB / 0.7067 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.2143, allocations: 86.7 kB / 0.7067 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.2147, allocations: 88 kB / 0.7068 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.2159, allocations: 0.7403 MB / 0.7075 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.216, allocations: 33 kB / 0.7076 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.2161, allocations: 51.91 kB / 0.7076 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.2168, allocations: 0.5078 MB / 0.7081 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.2169, allocations: 7.984 kB / 0.7081 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.2169, allocations: 24 kB / 0.7082 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.217, allocations: 12 kB / 0.7082 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.2175, allocations: 315.7 kB / 0.7085 GB, free: 8.715 MB / 0.545 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.002751/0.2202, allocations: 2.748 MB / 0.7112 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.2205, allocations: 200.8 kB / 0.7113 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.2207, allocations: 101.1 kB / 0.7114 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.221, allocations: 344.4 kB / 0.7118 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.221, allocations: 38.56 kB / 0.7118 GB, free: 4.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.221, allocations: 0 / 0.7118 GB, free: 4.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0005578/0.2216, allocations: 296.8 kB / 0.7121 GB, free: 4.668 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2216, allocations: 55.41 kB / 0.7121 GB, free: 4.602 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.2222, allocations: 0.5341 MB / 0.7127 GB, free: 4.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.2223, allocations: 29.7 kB / 0.7127 GB, free: 4.023 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.2225, allocations: 351.4 kB / 0.713 GB, free: 3.676 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/0.2226, allocations: 82.84 kB / 0.7131 GB, free: 3.594 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2227, allocations: 77.61 kB / 0.7132 GB, free: 3.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2228, allocations: 370.7 kB / 0.7135 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.223, allocations: 92.77 kB / 0.7136 GB, free: 3.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.2232, allocations: 237.9 kB / 0.7138 GB, free: 2.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.2236, allocations: 336 kB / 0.7142 GB, free: 2.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2236, allocations: 0 / 0.7142 GB, free: 2.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005839/0.2242, allocations: 392.9 kB / 0.7145 GB, free: 1.973 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2242, allocations: 9.719 kB / 0.7146 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2243, allocations: 7.984 kB / 0.7146 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.2243, allocations: 8 kB / 0.7146 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.2246, allocations: 79.84 kB / 0.7146 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.2246, allocations: 11.94 kB / 0.7147 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.2249, allocations: 39.58 kB / 0.7147 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.225, allocations: 20 kB / 0.7147 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002986/0.2253, allocations: 244.2 kB / 0.7149 GB, free: 1.559 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002604/0.2255, allocations: 243.5 kB / 0.7152 GB, free: 1.258 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004261/0.226, allocations: 324 kB / 0.7155 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.226, allocations: 4 kB / 0.7155 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006284/0.2266, allocations: 392.5 kB / 0.7159 GB, free: 500 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2266, allocations: 4 kB / 0.7159 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2267, allocations: 7.938 kB / 0.7159 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.2267, allocations: 8 kB / 0.7159 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.2269, allocations: 75.91 kB / 0.716 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.2269, allocations: 11.94 kB / 0.716 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.2273, allocations: 36.14 kB / 0.716 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.2273, allocations: 23.94 kB / 0.716 GB, free: 332 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.2275, allocations: 198 kB / 0.7162 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.2276, allocations: 63.28 kB / 0.7163 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.2282, allocations: 290.4 kB / 0.7166 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.2282, allocations: 4 kB / 0.7166 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2282, allocations: 0 / 0.7166 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003432/0.2285, allocations: 377.4 kB / 0.7169 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.23, allocations: 1.057 MB / 0.7179 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.23, allocations: 4 kB / 0.718 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.2302, allocations: 55.91 kB / 0.718 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.2302, allocations: 4 kB / 0.718 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.2302, allocations: 8 kB / 0.718 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2302, allocations: 4 kB / 0.718 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2303, allocations: 4 kB / 0.718 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.2309, allocations: 0.5192 MB / 0.7185 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.2311, allocations: 168.4 kB / 0.7187 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/0.2312, allocations: 8 kB / 0.7187 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.2315, allocations: 19.92 kB / 0.7187 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.2316, allocations: 27.84 kB / 0.7187 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.2316, allocations: 19.98 kB / 0.7188 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004643/0.2321, allocations: 407.1 kB / 0.7192 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2321, allocations: 0 / 0.7192 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009977/0.2331, allocations: 355.3 kB / 0.7195 GB, free: 12.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001554/0.2347, allocations: 1.257 MB / 0.7207 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007106/0.2354, allocations: 410 kB / 0.7211 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2354, allocations: 256 / 0.7211 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2356, allocations: 115.8 kB / 0.7212 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.2373, allocations: 376.3 kB / 0.7216 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.2427, allocations: 4.413 MB / 0.7259 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.2432, allocations: 0.8981 MB / 0.7268 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005341/0.2437, allocations: 151.7 kB / 0.7269 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.244, allocations: 223.3 kB / 0.7271 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.244, allocations: 0 / 0.7271 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/0.2858, allocations: 18.22 MB / 0.7449 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.938/9.224, allocations: 14.25 kB / 0.7449 GB, free: 2.469 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)