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.0015/0.0015, allocations: 106.2 kB / 16.4 MB, free: 6.484 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.001269/0.001269, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6979/0.698, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 65.67 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1385, allocations: 76.18 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5861/0.7246, allocations: 221.1 MB / 0.8475 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009485/0.7342, allocations: 5.73 MB / 0.8531 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.7359, allocations: 39.47 kB / 0.8531 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.7376, allocations: 0.5792 MB / 0.8537 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005084/0.7427, allocations: 1.845 MB / 0.8555 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.7458, allocations: 1.193 MB / 0.8567 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004141/0.75, allocations: 2.955 MB / 0.8595 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.7514, allocations: 1.021 MB / 0.8605 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.7533, allocations: 1.094 MB / 0.8616 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.7553, allocations: 0.9352 MB / 0.8625 GB, free: 208 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.7555, allocations: 108 kB / 0.8626 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.7584, allocations: 1.43 MB / 0.864 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000446/0.7589, allocations: 466.7 kB / 0.8645 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007086/0.7596, allocations: 0.6572 MB / 0.8651 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.7626, allocations: 2.131 MB / 0.8672 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7626, allocations: 0 / 0.8672 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7626, allocations: 0 / 0.8672 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.7626, 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.002329/0.765, allocations: 1.507 MB / 0.8687 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.765, allocations: 11.97 kB / 0.8687 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.7652, allocations: 135.3 kB / 0.8688 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.7671, allocations: 322.3 kB / 0.8691 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.7685, allocations: 0.8592 MB / 0.8699 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.7686, allocations: 62 kB / 0.87 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.7687, allocations: 91.92 kB / 0.8701 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.7702, allocations: 0.9109 MB / 0.871 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.7702, allocations: 0 / 0.871 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.7703, allocations: 36 kB / 0.871 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.7704, allocations: 37.94 kB / 0.8711 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.7717, allocations: 0.8354 MB / 0.8719 GB, free: 6.504 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.005111/0.7769, allocations: 3.517 MB / 0.8753 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.7776, allocations: 495.9 kB / 0.8758 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.7781, allocations: 298 kB / 0.8761 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.7783, allocations: 105.5 kB / 0.8762 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.7783, allocations: 42.94 kB / 0.8762 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.7783, allocations: 0 / 0.8762 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.003443/0.7818, allocations: 1.872 MB / 0.878 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.7818, allocations: 59.78 kB / 0.8781 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/0.7827, allocations: 0.8175 MB / 0.8789 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.7828, allocations: 37.7 kB / 0.8789 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.7831, allocations: 475.2 kB / 0.8794 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.7833, allocations: 177.5 kB / 0.8795 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.7835, allocations: 118.2 kB / 0.8797 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7836, allocations: 330 kB / 0.88 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.784, allocations: 245.2 kB / 0.8802 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.7845, allocations: 384.6 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.003508/0.788, allocations: 1.535 MB / 0.8821 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7881, allocations: 0 / 0.8821 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001264/0.7893, allocations: 0.7961 MB / 0.8829 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.7894, allocations: 8 kB / 0.8829 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.7894, allocations: 4.406 kB / 0.8829 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.7896, allocations: 77.67 kB / 0.8829 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.7902, allocations: 143.8 kB / 0.8831 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.7927, allocations: 3.121 MB / 0.8861 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007485/0.7935, allocations: 26.33 kB / 0.8861 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.7935, allocations: 20 kB / 0.8862 GB, free: 7.059 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.0004633/0.794, allocations: 311.8 kB / 0.8865 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.7941, allocations: 98.88 kB / 0.8866 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.7943, allocations: 100.7 kB / 0.8867 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.7943, allocations: 4 kB / 0.8867 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7943, allocations: 0 / 0.8867 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.7953, allocations: 0.8348 MB / 0.8875 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.7981, allocations: 1.803 MB / 0.8892 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7981, allocations: 4 kB / 0.8892 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.7987, allocations: 123.8 kB / 0.8894 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.476e-05/0.7988, allocations: 41.25 kB / 0.8894 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.7989, allocations: 19.98 kB / 0.8894 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.8001, allocations: 1.598 MB / 0.891 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8001, allocations: 4 kB / 0.891 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.8016, allocations: 1.069 MB / 0.892 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/0.8021, allocations: 232 kB / 0.8922 GB, free: 428 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.566e-05/0.8022, allocations: 16 kB / 0.8923 GB, free: 412 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.8028, allocations: 30.86 kB / 0.8923 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.8029, allocations: 51.94 kB / 0.8923 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.803, allocations: 27.98 kB / 0.8924 GB, free: 304 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006627/0.8037, allocations: 0.5576 MB / 0.8929 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8037, allocations: 4 kB / 0.8929 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008245/0.8045, allocations: 268 kB / 0.8932 GB, free: 15.48 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.002086/0.8066, allocations: 1.708 MB / 0.8948 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.8079, allocations: 0.8048 MB / 0.8956 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.8079, allocations: 0 / 0.8956 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.8084, allocations: 406.3 kB / 0.896 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.811, allocations: 0.5997 MB / 0.8966 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/0.8204, allocations: 7.016 MB / 0.9034 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/0.8212, allocations: 1.084 MB / 0.9045 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008258/0.822, allocations: 215.7 kB / 0.9047 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.8225, allocations: 343.3 kB / 0.905 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.8225, allocations: 0 / 0.905 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06089/0.8834, allocations: 27.89 MB / 0.9323 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.32, allocations: 13.78 kB / 0.9323 GB, free: 7.438 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)