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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001704/0.001704, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001955/0.001955, allocations: 194.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.205/2.205, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.418/1.418, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 68.2 kB / 0.505 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2441, allocations: 80.94 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5717/0.8159, allocations: 188 MB / 0.7675 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01442/0.8303, allocations: 5.656 MB / 0.7731 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.833, allocations: 39.75 kB / 0.7731 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.8357, allocations: 0.5053 MB / 0.7736 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.8431, allocations: 1.708 MB / 0.7753 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004655/0.8478, allocations: 1.087 MB / 0.7763 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005824/0.8536, allocations: 2.957 MB / 0.7792 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.8561, allocations: 1.084 MB / 0.7803 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.8592, allocations: 1.07 MB / 0.7813 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.8627, allocations: 1.032 MB / 0.7823 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000532/0.8633, allocations: 124 kB / 0.7824 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/0.8681, allocations: 1.512 MB / 0.7839 GB, free: 476 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.8696, allocations: 0.5807 MB / 0.7845 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.8716, allocations: 0.7233 MB / 0.7852 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00577/0.8774, allocations: 2.415 MB / 0.7876 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8774, allocations: 4 kB / 0.7876 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8774, allocations: 0 / 0.7876 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.473e-05/0.8775, allocations: 0 / 0.7876 GB, free: 12.73 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.005179/0.8827, allocations: 1.628 MB / 0.7892 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.8828, allocations: 8.031 kB / 0.7892 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004444/0.8832, allocations: 160.2 kB / 0.7893 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.8867, allocations: 334.1 kB / 0.7896 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.8895, allocations: 0.8668 MB / 0.7905 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.8896, allocations: 78 kB / 0.7906 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/0.89, allocations: 99.94 kB / 0.7906 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/0.8934, allocations: 1.085 MB / 0.7917 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.8934, allocations: 3.938 kB / 0.7917 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/0.8937, allocations: 44 kB / 0.7918 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.8938, allocations: 38 kB / 0.7918 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.8965, allocations: 0.9876 MB / 0.7928 GB, free: 7.309 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.008076/0.9046, allocations: 4.244 MB / 0.7969 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.9057, allocations: 0.5943 MB / 0.7975 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.9063, allocations: 340.4 kB / 0.7978 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.9065, allocations: 113.5 kB / 0.7979 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.9066, allocations: 39 kB / 0.7979 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.665e-06/0.9066, allocations: 0 / 0.7979 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.005151/0.9117, allocations: 2.201 MB / 0.8001 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.9118, allocations: 59.97 kB / 0.8002 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.9132, allocations: 0.8804 MB / 0.801 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.145e-05/0.9133, allocations: 37.7 kB / 0.801 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/0.9139, allocations: 0.5185 MB / 0.8016 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.9141, allocations: 193.1 kB / 0.8017 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.9144, allocations: 126.6 kB / 0.8019 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9146, allocations: 337.9 kB / 0.8022 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.9151, allocations: 285.8 kB / 0.8025 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/0.9158, allocations: 446.6 kB / 0.8029 GB, free: 12.39 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.004323/0.9202, allocations: 1.742 MB / 0.8046 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.9202, allocations: 4 kB / 0.8046 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001752/0.9219, allocations: 0.9218 MB / 0.8055 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.922, allocations: 8.438 kB / 0.8055 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.922, allocations: 8 kB / 0.8055 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.9222, allocations: 98.45 kB / 0.8056 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.923, allocations: 163.8 kB / 0.8058 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004013/0.927, allocations: 4.637 MB / 0.8103 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.9282, allocations: 81.31 kB / 0.8104 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.9283, allocations: 24 kB / 0.8104 GB, free: 4.195 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.000623/0.9289, allocations: 349.6 kB / 0.8107 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.9292, allocations: 102.8 kB / 0.8108 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.9294, allocations: 109.2 kB / 0.8109 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.9295, allocations: 4 kB / 0.8109 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.9295, allocations: 0 / 0.8109 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001276/0.9307, allocations: 0.773 MB / 0.8117 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/0.9345, allocations: 1.973 MB / 0.8136 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.9345, allocations: 4 kB / 0.8136 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.9353, allocations: 151.8 kB / 0.8137 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.9354, allocations: 40.78 kB / 0.8138 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.9355, allocations: 19.98 kB / 0.8138 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.9368, allocations: 1.599 MB / 0.8154 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.9368, allocations: 12 kB / 0.8154 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.9389, allocations: 1.23 MB / 0.8166 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/0.9396, allocations: 256 kB / 0.8168 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.9398, allocations: 19.98 kB / 0.8168 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.9408, allocations: 67.78 kB / 0.8169 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.941, allocations: 47.83 kB / 0.817 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.9411, allocations: 32.86 kB / 0.817 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001045/0.9422, allocations: 0.6122 MB / 0.8176 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9422, allocations: 0 / 0.8176 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001225/0.9434, allocations: 316 kB / 0.8179 GB, free: 12.12 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.002731/0.9461, allocations: 1.871 MB / 0.8197 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.9482, allocations: 1.103 MB / 0.8208 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9482, allocations: 0 / 0.8208 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007035/0.949, allocations: 454 kB / 0.8212 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/0.9521, allocations: 0.6581 MB / 0.8219 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.9713, allocations: 8.647 MB / 0.8303 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.9728, allocations: 1.173 MB / 0.8315 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001921/0.9748, allocations: 256.4 kB / 0.8317 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008633/0.9757, allocations: 383.3 kB / 0.8321 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/0.9757, allocations: 0 / 0.8321 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4879/1.464, allocations: 30.02 MB / 0.8614 GB, free: 218.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/1.464, allocations: 301.2 kB / 0.8617 GB, free: 218.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.226/5.69, allocations: 1.547 kB / 0.8617 GB, free: 218.1 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)