Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_dpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_dpSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.775/0.775, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.5 MB / 395.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001407, allocations: 97.64 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.32e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5634/0.5635, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.929/5.492, allocations: 1.913 GB / 2.546 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/5.492, allocations: 94.94 kB / 2.547 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 12.42/17.91, allocations: 3.131 GB / 5.677 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.663e-06/17.91, allocations: 0 / 5.677 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0009536/17.91, allocations: 127.9 kB / 5.677 GB, free: 5.359 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 711 * Number of variables: 711 Notification: Performance of Generate backend data structure: time 0.02015/17.93, allocations: 4.669 MB / 5.682 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/17.93, allocations: 12.03 kB / 5.682 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7996/18.73, allocations: 1.457 MB / 5.683 GB, free: 60.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/18.75, allocations: 4.49 MB / 5.688 GB, free: 59.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/18.75, allocations: 92.12 kB / 5.688 GB, free: 59.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009478/18.75, allocations: 193.3 kB / 5.688 GB, free: 59.97 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005309/18.76, allocations: 2.416 MB / 5.69 GB, free: 59.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005134/18.76, allocations: 2.816 MB / 5.693 GB, free: 59.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.998e-05/18.76, allocations: 7.844 kB / 5.693 GB, free: 59.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/18.76, allocations: 3.594 kB / 5.693 GB, free: 59.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/18.76, allocations: 103.1 kB / 5.693 GB, free: 59.58 MB / 0.8073 GB Warning: The model contains alias variables with conflicting start and/or 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.02376/18.79, allocations: 14.48 MB / 5.707 GB, free: 53.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/18.79, allocations: 1.772 MB / 5.709 GB, free: 53.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/18.79, allocations: 1.025 MB / 5.71 GB, free: 52.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/18.79, allocations: 235.5 kB / 5.71 GB, free: 52.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/18.79, allocations: 61.16 kB / 5.71 GB, free: 52.76 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003866/18.8, allocations: 0.5109 MB / 5.711 GB, free: 52.72 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=191): time 8.036e-06/18.8, allocations: 3.516 kB / 5.711 GB, free: 52.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=199): time 0.01557/18.81, allocations: 5.343 MB / 5.716 GB, free: 51.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/18.81, allocations: 73.5 kB / 5.716 GB, free: 51.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/18.82, allocations: 2.789 MB / 5.719 GB, free: 51.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007383/18.82, allocations: 32.27 kB / 5.719 GB, free: 51.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/18.82, allocations: 1.969 MB / 5.721 GB, free: 50.76 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/18.82, allocations: 0.6539 MB / 5.721 GB, free: 50.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/18.82, allocations: 0 / 5.721 GB, free: 50.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000129/18.82, allocations: 404.8 kB / 5.722 GB, free: 50.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/18.82, allocations: 0.792 MB / 5.723 GB, free: 50.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/18.82, allocations: 1.726 MB / 5.724 GB, free: 49 MB / 0.8073 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.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: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.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: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.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: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02156/18.85, allocations: 6.917 MB / 5.731 GB, free: 48.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.325e-05/18.85, allocations: 6.969 kB / 5.731 GB, free: 48.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.007274/18.85, allocations: 2.926 MB / 5.734 GB, free: 48.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002196/18.86, allocations: 7.706 MB / 5.741 GB, free: 40.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.736e-05/18.86, allocations: 17.59 kB / 5.741 GB, free: 40.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007912/18.86, allocations: 261.5 kB / 5.742 GB, free: 40.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/18.86, allocations: 0.5079 MB / 5.742 GB, free: 40.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/18.86, allocations: 4.6 MB / 5.747 GB, free: 36.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006749/18.87, allocations: 299.5 kB / 5.747 GB, free: 36.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008285/18.87, allocations: 124.1 kB / 5.747 GB, free: 36.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/18.87, allocations: 3.625 kB / 5.747 GB, free: 36.34 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00555/18.88, allocations: 2.331 MB / 5.749 GB, free: 36.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.679e-05/18.88, allocations: 20.06 kB / 5.749 GB, free: 36.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/18.88, allocations: 294.6 kB / 5.75 GB, free: 36.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/18.88, allocations: 0.4985 MB / 5.75 GB, free: 36.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0064/18.89, allocations: 7.711 MB / 5.758 GB, free: 29.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006491/18.89, allocations: 290.9 kB / 5.758 GB, free: 29.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008429/18.89, allocations: 118.8 kB / 5.758 GB, free: 29.75 MB / 0.8073 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001088/18.89, allocations: 182.9 kB / 5.758 GB, free: 29.65 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006947/18.9, allocations: 2.286 MB / 5.76 GB, free: 29.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002015/18.9, allocations: 397 kB / 5.761 GB, free: 29.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006161/18.91, allocations: 2.508 MB / 5.763 GB, free: 28.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/18.91, allocations: 17.8 kB / 5.763 GB, free: 28.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/18.91, allocations: 5.688 kB / 5.763 GB, free: 28.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003525/18.91, allocations: 2.103 MB / 5.765 GB, free: 28.58 MB / 0.8073 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01525/18.93, allocations: 6.086 MB / 5.771 GB, free: 27.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/18.93, allocations: 8.562 kB / 5.771 GB, free: 27.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/18.93, allocations: 436.4 kB / 5.772 GB, free: 27.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005892/18.93, allocations: 233.1 kB / 5.772 GB, free: 27.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/18.93, allocations: 33.36 kB / 5.772 GB, free: 27.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/18.93, allocations: 4.489 MB / 5.776 GB, free: 23.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/18.93, allocations: 18.16 kB / 5.776 GB, free: 23.81 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007597/18.94, allocations: 4.896 MB / 5.781 GB, free: 21.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00385/18.94, allocations: 0.719 MB / 5.782 GB, free: 21.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/18.95, allocations: 16.56 kB / 5.782 GB, free: 21.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004104/18.95, allocations: 244.9 kB / 5.782 GB, free: 21.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/18.95, allocations: 162.1 kB / 5.782 GB, free: 21.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/18.95, allocations: 98.34 kB / 5.782 GB, free: 21.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.004154/18.96, allocations: 2.106 MB / 5.784 GB, free: 21.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.91e-07/18.96, allocations: 0.5625 kB / 5.784 GB, free: 21.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01147/18.97, allocations: 2.251 MB / 5.787 GB, free: 21.09 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.U,zone2.dynBal.mXi[1],zone1.dynBal.U,zone1.dynBal.mXi[1],zone3.dynBal.U,zone3.dynBal.mXi[1],zone4.dynBal.U,zone4.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 184 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02603/18.99, allocations: 15.58 MB / 5.802 GB, free: 28.73 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01148/19, allocations: 4.22 MB / 5.806 GB, free: 27.98 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.085e-05/19, allocations: 6.141 kB / 5.806 GB, free: 27.98 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/19.01, allocations: 1.257 MB / 5.807 GB, free: 27.77 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01399/19.02, allocations: 1.933 MB / 5.809 GB, free: 27.72 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/19.05, allocations: 6.829 MB / 5.816 GB, free: 25.88 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0045/19.05, allocations: 2.629 MB / 5.818 GB, free: 25.09 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.009665/19.06, allocations: 1.477 MB / 5.82 GB, free: 25.05 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003102/19.06, allocations: 1.761 MB / 5.821 GB, free: 25.04 MB / 0.823 GB Notification: Performance of SimCode: time 1.412e-06/19.06, allocations: 0 / 5.821 GB, free: 25.04 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2673/19.33, allocations: 152.4 MB / 5.97 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/19.33, allocations: 169.4 kB / 5.97 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.945/28.28, allocations: 0 / 5.97 GB, free: 4.773 MB / 0.8386 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_dpSystem_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_dpSystem.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)