Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.001095/0.001095, allocations: 103.1 kB / 16.4 MB, free: 6.449 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.001042/0.001042, allocations: 189.3 kB / 17.34 MB, free: 5.723 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6849/0.6849, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 66.89 kB / 0.5572 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1367, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5752/0.7119, allocations: 221.1 MB / 0.8475 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009472/0.7215, allocations: 5.736 MB / 0.8531 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.7229, allocations: 40.94 kB / 0.8531 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.7245, allocations: 0.5738 MB / 0.8537 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004713/0.7293, allocations: 1.852 MB / 0.8555 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.7321, allocations: 1.194 MB / 0.8567 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003333/0.7354, allocations: 2.948 MB / 0.8595 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.7366, allocations: 1.022 MB / 0.8605 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.7383, allocations: 1.093 MB / 0.8616 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.74, allocations: 0.9399 MB / 0.8625 GB, free: 204 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.7402, allocations: 108 kB / 0.8626 GB, free: 96 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.743, allocations: 1.434 MB / 0.864 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004755/0.7435, allocations: 458.8 kB / 0.8645 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009942/0.7445, allocations: 0.6534 MB / 0.8651 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.7477, allocations: 2.135 MB / 0.8672 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7477, allocations: 0 / 0.8672 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7478, allocations: 0 / 0.8672 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.159e-05/0.7478, allocations: 0 / 0.8672 GB, free: 11.41 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002977/0.7508, allocations: 1.503 MB / 0.8687 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7508, allocations: 12.03 kB / 0.8687 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.7511, allocations: 139.3 kB / 0.8688 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.7531, allocations: 318.3 kB / 0.8691 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.7546, allocations: 0.863 MB / 0.8699 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.7547, allocations: 69.94 kB / 0.87 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.7548, allocations: 84 kB / 0.8701 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.7564, allocations: 0.9131 MB / 0.871 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.7565, allocations: 0 / 0.871 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.7566, allocations: 36 kB / 0.871 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.7566, allocations: 33.94 kB / 0.8711 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.7581, allocations: 0.8393 MB / 0.8719 GB, free: 6.5 MB / 0.6231 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.005663/0.7638, allocations: 3.517 MB / 0.8753 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.7646, allocations: 488.9 kB / 0.8758 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.765, allocations: 300.5 kB / 0.8761 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.7652, allocations: 105.5 kB / 0.8762 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.7653, allocations: 42.94 kB / 0.8762 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.7653, allocations: 0 / 0.8762 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.00365/0.769, allocations: 1.88 MB / 0.878 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.769, allocations: 63.78 kB / 0.8781 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.7701, allocations: 0.8019 MB / 0.8789 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/0.7702, allocations: 41.7 kB / 0.8789 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.7706, allocations: 479.2 kB / 0.8794 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.7708, allocations: 177.5 kB / 0.8795 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.771, allocations: 118.2 kB / 0.8797 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7711, allocations: 330 kB / 0.88 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.7715, allocations: 241.2 kB / 0.8802 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.7721, allocations: 384.7 kB / 0.8806 GB, free: 13.14 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.003445/0.7755, allocations: 1.539 MB / 0.8821 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.7755, allocations: 0 / 0.8821 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001284/0.7768, allocations: 0.7961 MB / 0.8829 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7768, allocations: 4 kB / 0.8829 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7769, allocations: 4 kB / 0.8829 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.777, allocations: 77.95 kB / 0.8829 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.7777, allocations: 155.8 kB / 0.8831 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.7802, allocations: 3.117 MB / 0.8861 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.781, allocations: 21.7 kB / 0.8861 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.7811, allocations: 28 kB / 0.8862 GB, free: 7.043 MB / 0.6387 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.0005055/0.7816, allocations: 305.5 kB / 0.8865 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.7818, allocations: 98.97 kB / 0.8866 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.7821, allocations: 100.7 kB / 0.8867 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.7821, allocations: 4 kB / 0.8867 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7821, allocations: 0 / 0.8867 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001124/0.7832, allocations: 0.8388 MB / 0.8875 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.7865, allocations: 1.795 MB / 0.8892 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.7865, allocations: 4 kB / 0.8892 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005948/0.7871, allocations: 127.8 kB / 0.8894 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.7872, allocations: 41.17 kB / 0.8894 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.7873, allocations: 20 kB / 0.8894 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.7886, allocations: 1.602 MB / 0.891 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.7886, allocations: 4 kB / 0.891 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.7903, allocations: 1.062 MB / 0.892 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.7908, allocations: 236 kB / 0.8922 GB, free: 416 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.7909, allocations: 8 kB / 0.8923 GB, free: 408 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007248/0.7917, allocations: 42 kB / 0.8923 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.7918, allocations: 43.95 kB / 0.8923 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/0.7919, allocations: 31.98 kB / 0.8924 GB, free: 292 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007833/0.7926, allocations: 0.5615 MB / 0.8929 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7927, allocations: 0 / 0.8929 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000939/0.7936, allocations: 276 kB / 0.8932 GB, free: 15.46 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.medium.Xi[1],volDyn.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 (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.002179/0.7958, allocations: 1.699 MB / 0.8948 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.7971, allocations: 0.8088 MB / 0.8956 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7971, allocations: 0 / 0.8956 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005473/0.7977, allocations: 410.3 kB / 0.896 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.8001, allocations: 0.6068 MB / 0.8966 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009511/0.8096, allocations: 6.996 MB / 0.9034 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.8104, allocations: 1.084 MB / 0.9045 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007509/0.8111, allocations: 207.7 kB / 0.9047 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.8116, allocations: 347.3 kB / 0.905 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of SimCode: time 9.31e-07/0.8116, allocations: 0 / 0.905 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06079/0.8724, allocations: 27.89 MB / 0.9323 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.1, allocations: 14.52 kB / 0.9323 GB, free: 7.422 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)