Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001441/0.001441, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001827/0.001827, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.189/2.189, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.366/1.366, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004989, allocations: 10 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9031/0.9036, allocations: 81.58 MB / 0.583 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2777/1.181, allocations: 155.8 MB / 0.7351 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02945/1.211, allocations: 10.92 MB / 0.7457 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/1.214, allocations: 31.81 kB / 0.7458 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002923/1.217, allocations: 434 kB / 0.7462 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006793/1.224, allocations: 1.04 MB / 0.7472 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005228/1.229, allocations: 0.8174 MB / 0.748 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004352/1.233, allocations: 1.16 MB / 0.7491 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/1.235, allocations: 0.614 MB / 0.7497 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004827/1.24, allocations: 1.211 MB / 0.7509 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/1.242, allocations: 426.3 kB / 0.7513 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004577/1.243, allocations: 36 kB / 0.7513 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/1.246, allocations: 415.3 kB / 0.7517 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/1.247, allocations: 315.1 kB / 0.752 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000945/1.248, allocations: 205.2 kB / 0.7522 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002999/1.251, allocations: 0.9859 MB / 0.7532 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.251, allocations: 0 / 0.7532 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.128e-06/1.251, allocations: 0 / 0.7532 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.66e-05/1.251, allocations: 0 / 0.7532 GB, free: 1.809 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003495/1.255, allocations: 1.056 MB / 0.7542 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.807e-05/1.255, allocations: 8.031 kB / 0.7542 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003357/1.255, allocations: 126.5 kB / 0.7544 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/1.258, allocations: 210.7 kB / 0.7546 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/1.26, allocations: 0.6251 MB / 0.7552 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/1.26, allocations: 58 kB / 0.7552 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/1.261, allocations: 79.98 kB / 0.7553 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/1.264, allocations: 0.9147 MB / 0.7562 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.499e-05/1.264, allocations: 3.938 kB / 0.7562 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/1.264, allocations: 39.95 kB / 0.7562 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.364e-05/1.264, allocations: 29.31 kB / 0.7563 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/1.267, allocations: 0.6099 MB / 0.7569 GB, free: 13.87 MB / 0.5919 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.01074/1.277, allocations: 4.582 MB / 0.7613 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/1.279, allocations: 0.5294 MB / 0.7619 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/1.279, allocations: 27.91 kB / 0.7619 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.039e-05/1.279, allocations: 34.56 kB / 0.7619 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.362e-05/1.279, allocations: 0 / 0.7619 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.006797/1.286, allocations: 1.58 MB / 0.7635 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.286, allocations: 106.8 kB / 0.7636 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/1.288, allocations: 0.7077 MB / 0.7643 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.288, allocations: 37.7 kB / 0.7643 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007287/1.289, allocations: 411.7 kB / 0.7647 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/1.29, allocations: 165.7 kB / 0.7648 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/1.29, allocations: 8 kB / 0.7648 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003526/1.29, allocations: 342 kB / 0.7652 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006504/1.291, allocations: 181.2 kB / 0.7653 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009909/1.292, allocations: 409 kB / 0.7657 GB, free: 4.234 MB / 0.5919 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.003487/1.295, allocations: 0.6626 MB / 0.7664 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/1.295, allocations: 4 kB / 0.7664 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002522/1.298, allocations: 0.6717 MB / 0.767 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/1.298, allocations: 8 kB / 0.767 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/1.298, allocations: 8 kB / 0.7671 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.029e-05/1.298, allocations: 8 kB / 0.7671 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.299, allocations: 132.5 kB / 0.7672 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-05/1.299, allocations: 19.94 kB / 0.7672 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.301, allocations: 43.91 kB / 0.7673 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/1.301, allocations: 28 kB / 0.7673 GB, free: 2.629 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009972/1.302, allocations: 281.5 kB / 0.7675 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/1.303, allocations: 82.97 kB / 0.7676 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/1.303, allocations: 91.59 kB / 0.7677 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.303, allocations: 8 kB / 0.7677 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/1.303, allocations: 0 / 0.7677 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001621/1.305, allocations: 0.6911 MB / 0.7684 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005851/1.311, allocations: 1.636 MB / 0.77 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-05/1.311, allocations: 7.953 kB / 0.77 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.312, allocations: 99.89 kB / 0.7701 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-05/1.312, allocations: 8 kB / 0.7701 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/1.312, allocations: 12 kB / 0.7701 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.362e-05/1.312, allocations: 12.42 kB / 0.7701 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/1.312, allocations: 8 kB / 0.7701 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/1.315, allocations: 1.071 MB / 0.7712 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008318/1.316, allocations: 204.1 kB / 0.7714 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/1.316, allocations: 16 kB / 0.7714 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.317, allocations: 40.42 kB / 0.7714 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.317, allocations: 31.97 kB / 0.7715 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/1.317, allocations: 23.98 kB / 0.7715 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00149/1.319, allocations: 0.5145 MB / 0.772 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.81e-07/1.319, allocations: 0 / 0.772 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001672/1.321, allocations: 200 kB / 0.7722 GB, free: 13.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004514/1.325, allocations: 2.813 MB / 0.7749 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001745/1.327, allocations: 477.4 kB / 0.7754 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.327, allocations: 0 / 0.7754 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/1.327, allocations: 203.7 kB / 0.7756 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/1.332, allocations: 456.6 kB / 0.776 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/1.352, allocations: 8.989 MB / 0.7848 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/1.354, allocations: 1.052 MB / 0.7858 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001761/1.355, allocations: 199 kB / 0.786 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008332/1.356, allocations: 295.3 kB / 0.7863 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of SimCode: time 1.593e-06/1.356, allocations: 3.938 kB / 0.7863 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07959/1.436, allocations: 21.54 MB / 0.8073 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005427/1.436, allocations: 255.7 kB / 0.8076 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.74/5.177, allocations: 0 / 0.8076 GB, free: 8.988 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: