Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9403/0.9403, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.22 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1568, allocations: 80.92 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4654/0.6222, allocations: 190.4 MB / 0.7703 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009817/0.6321, allocations: 5.69 MB / 0.7759 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.6336, allocations: 39.81 kB / 0.7759 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.6356, allocations: 0.5669 MB / 0.7765 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005811/0.6415, allocations: 1.832 MB / 0.7783 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.645, allocations: 1.17 MB / 0.7794 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00441/0.6494, allocations: 2.947 MB / 0.7823 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.6514, allocations: 1.13 MB / 0.7834 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.6541, allocations: 1.051 MB / 0.7844 GB, free: 136 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.6567, allocations: 0.9538 MB / 0.7854 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004345/0.6571, allocations: 120 kB / 0.7855 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003521/0.6606, allocations: 1.446 MB / 0.7869 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009889/0.6617, allocations: 0.5689 MB / 0.7874 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.6636, allocations: 0.7312 MB / 0.7882 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004355/0.6679, allocations: 2.322 MB / 0.7904 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6679, allocations: 0 / 0.7904 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6679, allocations: 0 / 0.7904 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.449e-05/0.668, allocations: 0 / 0.7904 GB, free: 9.98 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003839/0.6719, allocations: 1.624 MB / 0.792 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6719, allocations: 8.031 kB / 0.792 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.6742, allocations: 326.2 kB / 0.7923 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.6758, allocations: 0.8785 MB / 0.7932 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.6758, allocations: 77.98 kB / 0.7933 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.676, allocations: 99.94 kB / 0.7934 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.6779, allocations: 1.081 MB / 0.7944 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.678, allocations: 0 / 0.7944 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.6781, allocations: 44 kB / 0.7945 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/0.6781, allocations: 38 kB / 0.7945 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.6798, allocations: 0.9954 MB / 0.7955 GB, free: 4.719 MB / 0.6075 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.006157/0.686, allocations: 4.251 MB / 0.7996 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009085/0.6869, allocations: 0.5982 MB / 0.8002 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.6874, allocations: 348 kB / 0.8005 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.6876, allocations: 105.5 kB / 0.8006 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.6877, allocations: 43 kB / 0.8007 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 3.166e-06/0.6877, allocations: 0 / 0.8007 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.004189/0.6919, allocations: 2.197 MB / 0.8028 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.692, allocations: 59.97 kB / 0.8029 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.6931, allocations: 0.8882 MB / 0.8037 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.6932, allocations: 41.7 kB / 0.8038 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.6936, allocations: 0.5184 MB / 0.8043 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.6938, allocations: 193.2 kB / 0.8045 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.6941, allocations: 134.6 kB / 0.8046 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6942, allocations: 330 kB / 0.8049 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.6947, allocations: 282.7 kB / 0.8052 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.6953, allocations: 454.6 kB / 0.8056 GB, free: 9.77 MB / 0.6231 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.003961/0.6993, allocations: 1.733 MB / 0.8073 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6993, allocations: 0 / 0.8073 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001575/0.7009, allocations: 0.9218 MB / 0.8082 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7009, allocations: 11.94 kB / 0.8082 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.701, allocations: 4.5 kB / 0.8082 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.7012, allocations: 106.5 kB / 0.8083 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.7019, allocations: 163.7 kB / 0.8085 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003888/0.7058, allocations: 4.643 MB / 0.813 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/0.7068, allocations: 32.08 kB / 0.8131 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/0.7069, allocations: 31.94 kB / 0.8131 GB, free: 1.617 MB / 0.6231 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006375/0.7075, allocations: 338.9 kB / 0.8134 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.7078, allocations: 102.8 kB / 0.8135 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.7081, allocations: 113.2 kB / 0.8136 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.7081, allocations: 8 kB / 0.8136 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7081, allocations: 4.562 kB / 0.8136 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.7092, allocations: 0.7691 MB / 0.8144 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.7128, allocations: 1.98 MB / 0.8163 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.7128, allocations: 5.125 kB / 0.8163 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/0.7135, allocations: 143.8 kB / 0.8165 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.7136, allocations: 40.83 kB / 0.8165 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.7137, allocations: 16 kB / 0.8165 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.7153, allocations: 1.611 MB / 0.8181 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.7154, allocations: 12 kB / 0.8181 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.7176, allocations: 1.23 MB / 0.8193 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007482/0.7184, allocations: 263.8 kB / 0.8195 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.7187, allocations: 12 kB / 0.8196 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009329/0.7196, allocations: 38.36 kB / 0.8196 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7198, allocations: 47.81 kB / 0.8196 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/0.7199, allocations: 35.98 kB / 0.8197 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009361/0.7208, allocations: 0.6122 MB / 0.8203 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7208, allocations: 0 / 0.8203 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001309/0.7221, allocations: 300 kB / 0.8206 GB, free: 9.586 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * 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.0006218/0.7228, allocations: 205.3 kB / 0.8208 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001955/0.7247, allocations: 1.107 MB / 0.8218 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.7248, allocations: 0 / 0.8218 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006678/0.7254, allocations: 450.2 kB / 0.8223 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/0.7289, allocations: 0.6517 MB / 0.8229 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.733, allocations: 2.111 MB / 0.825 GB, free: 5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.7341, allocations: 1.17 MB / 0.8261 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001228/0.7354, allocations: 248.4 kB / 0.8263 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.7357, allocations: 87.36 kB / 0.8264 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of SimCode: time 8.41e-07/0.7357, allocations: 0 / 0.8264 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of Templates: time 0.04057/0.7763, allocations: 22.33 MB / 0.8482 GB, free: 13.44 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)