Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_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.007312/0.007312, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001997/0.001997, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.361/1.361, 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/package.mo): time 0.8748/0.8748, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 64.2 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1356, allocations: 80.21 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5257/0.6613, allocations: 221.1 MB / 0.8751 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009149/0.6704, allocations: 5.704 MB / 0.8807 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000777/0.6712, allocations: 43.75 kB / 0.8807 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.6726, allocations: 0.5747 MB / 0.8813 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.6766, allocations: 1.839 MB / 0.8831 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.6793, allocations: 1.186 MB / 0.8842 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003407/0.6827, allocations: 2.938 MB / 0.8871 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.684, allocations: 1.02 MB / 0.8881 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.6855, allocations: 1.066 MB / 0.8891 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.6874, allocations: 0.9334 MB / 0.89 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.6876, allocations: 112 kB / 0.8902 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.6902, allocations: 1.426 MB / 0.8915 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.6907, allocations: 466.8 kB / 0.892 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006849/0.6914, allocations: 0.6495 MB / 0.8926 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.6941, allocations: 2.141 MB / 0.8947 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6941, allocations: 0 / 0.8947 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6941, allocations: 0 / 0.8947 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.6942, allocations: 0 / 0.8947 GB, free: 4.816 MB / 0.6544 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.002369/0.6965, allocations: 1.549 MB / 0.8962 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6966, allocations: 11.97 kB / 0.8962 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.6968, allocations: 139.3 kB / 0.8964 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.6986, allocations: 319 kB / 0.8967 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.7, allocations: 0.8715 MB / 0.8975 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.7, allocations: 62 kB / 0.8976 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.7002, allocations: 84 kB / 0.8977 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.7018, allocations: 0.9101 MB / 0.8986 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.7018, allocations: 4 kB / 0.8986 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.7019, allocations: 43.94 kB / 0.8986 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.7019, allocations: 33.94 kB / 0.8986 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.7034, allocations: 0.8277 MB / 0.8994 GB, free: 15.86 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.005185/0.7086, allocations: 3.518 MB / 0.9029 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.7095, allocations: 0.4935 MB / 0.9034 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.71, allocations: 305.9 kB / 0.9037 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.7102, allocations: 97.53 kB / 0.9037 GB, free: 11.21 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.7102, allocations: 47.94 kB / 0.9038 GB, free: 11.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 1.683e-06/0.7102, allocations: 0 / 0.9038 GB, free: 11.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.00353/0.7137, allocations: 1.885 MB / 0.9056 GB, free: 9.172 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.7138, allocations: 59.84 kB / 0.9057 GB, free: 9.102 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000984/0.7148, allocations: 0.8097 MB / 0.9065 GB, free: 8.281 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.7148, allocations: 37.7 kB / 0.9065 GB, free: 8.238 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.7152, allocations: 488.1 kB / 0.907 GB, free: 7.754 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.7154, allocations: 186.4 kB / 0.9072 GB, free: 7.57 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.7156, allocations: 118.2 kB / 0.9073 GB, free: 7.449 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7158, allocations: 338 kB / 0.9076 GB, free: 7.113 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.7162, allocations: 241.2 kB / 0.9078 GB, free: 6.879 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.7168, allocations: 384.6 kB / 0.9082 GB, free: 6.453 MB / 0.67 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.003704/0.7205, allocations: 1.532 MB / 0.9097 GB, free: 4.859 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7205, allocations: 0 / 0.9097 GB, free: 4.859 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001336/0.7219, allocations: 0.7892 MB / 0.9105 GB, free: 4.055 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.7219, allocations: 14.03 kB / 0.9105 GB, free: 4.043 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7219, allocations: 4 kB / 0.9105 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.7221, allocations: 65.69 kB / 0.9105 GB, free: 3.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.7228, allocations: 147.8 kB / 0.9107 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.7255, allocations: 3.118 MB / 0.9137 GB, free: 436 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/0.7262, allocations: 27.98 kB / 0.9138 GB, free: 408 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/0.7262, allocations: 29.08 kB / 0.9138 GB, free: 380 kB / 0.67 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.0004122/0.7266, allocations: 313.7 kB / 0.9141 GB, free: 56 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.7268, allocations: 99.42 kB / 0.9142 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.727, allocations: 100.7 kB / 0.9143 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.727, allocations: 4 kB / 0.9143 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.727, allocations: 7.938 kB / 0.9143 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/0.7282, allocations: 0.8348 MB / 0.9151 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.731, allocations: 1.792 MB / 0.9168 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.731, allocations: 0 / 0.9168 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.7316, allocations: 136.2 kB / 0.917 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.019e-05/0.7317, allocations: 40.83 kB / 0.917 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.7318, allocations: 16 kB / 0.917 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.7331, allocations: 1.594 MB / 0.9186 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.7331, allocations: 7.938 kB / 0.9186 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.7348, allocations: 1.101 MB / 0.9197 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.7351, allocations: 236.5 kB / 0.9199 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.7352, allocations: 19.94 kB / 0.9199 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/0.7359, allocations: 36.05 kB / 0.9199 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.736, allocations: 43.94 kB / 0.92 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/0.7361, allocations: 31.98 kB / 0.92 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007116/0.7368, allocations: 0.5653 MB / 0.9206 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7368, allocations: 0 / 0.9206 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007667/0.7376, allocations: 275.9 kB / 0.9208 GB, free: 8.734 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.002252/0.7398, allocations: 1.728 MB / 0.9225 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.7412, allocations: 0.8078 MB / 0.9233 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.7412, allocations: 4 kB / 0.9233 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.7418, allocations: 403.5 kB / 0.9237 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.7444, allocations: 0.6109 MB / 0.9243 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009585/0.7539, allocations: 7.037 MB / 0.9312 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/0.7547, allocations: 1.087 MB / 0.9322 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007276/0.7554, allocations: 215.7 kB / 0.9324 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/0.7559, allocations: 347.3 kB / 0.9328 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of SimCode: time 3.51e-07/0.7559, allocations: 0 / 0.9328 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0615/0.8175, allocations: 27.42 MB / 0.9595 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.26, allocations: 4.594 kB / 0.9596 GB, free: 1.051 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)