Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001233, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001384/0.001384, allocations: 194.1 kB / 16.25 MB, free: 6.16 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 64.59 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1668, allocations: 80.93 MB / 0.5839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5542/0.721, allocations: 219.8 MB / 0.7985 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0202/0.7413, allocations: 12.02 MB / 0.8102 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.7442, allocations: 63.62 kB / 0.8103 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.7467, allocations: 0.7537 MB / 0.811 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007817/0.7546, allocations: 2.674 MB / 0.8136 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.7583, allocations: 1.298 MB / 0.8149 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006324/0.7646, allocations: 4.421 MB / 0.8192 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/0.7672, allocations: 1.692 MB / 0.8209 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006336/0.7735, allocations: 2.438 MB / 0.8233 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/0.7773, allocations: 1.646 MB / 0.8249 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004678/0.7778, allocations: 180 kB / 0.825 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004568/0.7823, allocations: 2.268 MB / 0.8273 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007763/0.7831, allocations: 0.7128 MB / 0.8279 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.7845, allocations: 1.038 MB / 0.829 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004865/0.7894, allocations: 3.427 MB / 0.8323 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7894, allocations: 4 kB / 0.8323 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7894, allocations: 4 kB / 0.8323 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.699e-05/0.7895, allocations: 0 / 0.8323 GB, free: 14.73 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003881/0.7934, allocations: 2.279 MB / 0.8345 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.7934, allocations: 12.03 kB / 0.8346 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.7964, allocations: 0.4894 MB / 0.835 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.7984, allocations: 1.255 MB / 0.8363 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.7985, allocations: 114.8 kB / 0.8364 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.7987, allocations: 144 kB / 0.8365 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.8015, allocations: 1.76 MB / 0.8382 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.8015, allocations: 3.938 kB / 0.8382 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.8016, allocations: 60 kB / 0.8383 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.809e-05/0.8017, allocations: 54.53 kB / 0.8383 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.8039, allocations: 1.395 MB / 0.8397 GB, free: 6.941 MB / 0.6544 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.00901/0.8129, allocations: 7.284 MB / 0.8468 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.8144, allocations: 1.023 MB / 0.8478 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000946/0.8154, allocations: 0.6945 MB / 0.8485 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.8156, allocations: 114.1 kB / 0.8486 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.8157, allocations: 51.5 kB / 0.8486 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/0.817, allocations: 306.8 kB / 0.8489 GB, free: 13.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 3.466e-06/0.817, allocations: 0 / 0.8489 GB, free: 13.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.008345/0.8254, allocations: 4.441 MB / 0.8533 GB, free: 8.504 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.8255, allocations: 171.2 kB / 0.8534 GB, free: 8.301 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.827, allocations: 1.267 MB / 0.8547 GB, free: 7.023 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.842e-05/0.8272, allocations: 45.7 kB / 0.8547 GB, free: 6.973 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/0.8277, allocations: 0.7007 MB / 0.8554 GB, free: 6.266 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.8281, allocations: 398.2 kB / 0.8558 GB, free: 5.871 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.8285, allocations: 263.3 kB / 0.856 GB, free: 5.609 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8286, allocations: 361.9 kB / 0.8564 GB, free: 5.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/0.8294, allocations: 0.527 MB / 0.8569 GB, free: 4.723 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.8305, allocations: 0.8514 MB / 0.8577 GB, free: 3.75 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3236/1.154, allocations: 4.787 MB / 0.8624 GB, free: 219.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.154, allocations: 0 / 0.8624 GB, free: 219.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002454/1.157, allocations: 1.622 MB / 0.864 GB, free: 219.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/1.157, allocations: 9.562 kB / 0.864 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.157, allocations: 8.5 kB / 0.864 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/1.157, allocations: 20.94 kB / 0.864 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.158, allocations: 293.6 kB / 0.8643 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/1.158, allocations: 22.95 kB / 0.8643 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.16, allocations: 91.53 kB / 0.8644 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.16, allocations: 59.97 kB / 0.8645 GB, free: 219.2 MB / 0.67 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0007348/1.16, allocations: 425.1 kB / 0.8649 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/1.161, allocations: 165 kB / 0.865 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/1.163, allocations: 1.291 MB / 0.8663 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.163, allocations: 14.41 kB / 0.8663 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.163, allocations: 0 / 0.8663 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/1.164, allocations: 1.243 MB / 0.8675 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005274/1.169, allocations: 3.763 MB / 0.8712 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.169, allocations: 8.844 kB / 0.8712 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.171, allocations: 254.5 kB / 0.8714 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/1.171, allocations: 18.02 kB / 0.8715 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.879e-05/1.171, allocations: 35.84 kB / 0.8715 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-05/1.171, allocations: 26.59 kB / 0.8715 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.171, allocations: 19.34 kB / 0.8715 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/1.173, allocations: 2.216 MB / 0.8737 GB, free: 214.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/1.174, allocations: 354.8 kB / 0.874 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/1.174, allocations: 41.88 kB / 0.8741 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.175, allocations: 91.59 kB / 0.8742 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.176, allocations: 106.8 kB / 0.8743 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/1.176, allocations: 48.7 kB / 0.8743 GB, free: 214.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009795/1.177, allocations: 0.8571 MB / 0.8752 GB, free: 214.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.177, allocations: 0 / 0.8752 GB, free: 214.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001329/1.178, allocations: 431.2 kB / 0.8756 GB, free: 214 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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 Backend phase and start with SimCode phase: time 0.0005295/1.179, allocations: 235.5 kB / 0.8758 GB, free: 213.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002325/1.181, allocations: 1.437 MB / 0.8772 GB, free: 213.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.181, allocations: 5.844 kB / 0.8772 GB, free: 213.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006617/1.182, allocations: 0.5451 MB / 0.8777 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/1.185, allocations: 0.9361 MB / 0.8786 GB, free: 213.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/1.19, allocations: 4.009 MB / 0.8826 GB, free: 210.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008266/1.191, allocations: 1.372 MB / 0.8839 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001608/1.193, allocations: 388.4 kB / 0.8843 GB, free: 209.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/1.193, allocations: 129.6 kB / 0.8844 GB, free: 209.7 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/1.193, allocations: 4 kB / 0.8844 GB, free: 209.7 MB / 0.67 GB Notification: Performance of Templates: time 0.06203/1.255, allocations: 30.28 MB / 0.914 GB, free: 204.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)