Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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.Examples.FlowSystem.Simplified5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5",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.0009296/0.0009295, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6523/0.6523, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009297/0.00093, allocations: 104.3 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.126e-05, allocations: 2.312 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 82.31 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.36, allocations: 425.4 MB / 1.056 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/1.36, allocations: 101.7 kB / 1.056 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 42.91/44.27, allocations: 10.47 GB / 11.52 GB, free: 45.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/44.27, allocations: 0 / 11.52 GB, free: 45.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002799/44.27, allocations: 353 kB / 11.52 GB, free: 45.87 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.03975/44.31, allocations: 11.19 MB / 11.53 GB, free: 40.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/44.31, allocations: 9.219 kB / 11.53 GB, free: 40.96 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003719/44.31, allocations: 0.7814 MB / 11.54 GB, free: 40.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/44.33, allocations: 2.234 MB / 11.54 GB, free: 40.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05504/44.38, allocations: 18.75 MB / 11.56 GB, free: 37.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000764/44.38, allocations: 0.5354 MB / 11.56 GB, free: 37.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003684/44.39, allocations: 0.7063 MB / 11.56 GB, free: 37.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02713/44.41, allocations: 13.08 MB / 11.57 GB, free: 37.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/44.41, allocations: 6.875 kB / 11.57 GB, free: 37.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001451/44.42, allocations: 250.2 kB / 11.57 GB, free: 37.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/44.42, allocations: 149.2 kB / 11.57 GB, free: 37.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02637/44.44, allocations: 17.53 MB / 11.59 GB, free: 37.3 MB / 0.948 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.1154/44.56, allocations: 70.12 MB / 11.66 GB, free: 21.46 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/44.57, allocations: 9.456 MB / 11.67 GB, free: 21.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0112/44.58, allocations: 8.443 MB / 11.67 GB, free: 21.23 MB / 0.9636 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 evalFunc (simulation): time 0.05817/44.64, allocations: 29.51 MB / 11.7 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01182/44.65, allocations: 8.103 MB / 11.71 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04072/44.69, allocations: 15.23 MB / 11.73 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=393): time 3.7e-05/44.69, allocations: 4 kB / 11.73 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=581): time 1.056/45.75, allocations: 76.16 MB / 11.8 GB, free: 80.83 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/45.75, allocations: 115 kB / 11.8 GB, free: 80.76 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02851/45.78, allocations: 12.01 MB / 11.81 GB, free: 80.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.003253/45.78, allocations: 182.5 kB / 11.81 GB, free: 80.07 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.007247/45.79, allocations: 6.015 MB / 11.82 GB, free: 79.88 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003987/45.79, allocations: 1.956 MB / 11.82 GB, free: 79.77 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002621/45.8, allocations: 149.5 kB / 11.82 GB, free: 79.77 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005239/45.8, allocations: 0.5956 MB / 11.82 GB, free: 79.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01242/45.81, allocations: 7.798 MB / 11.83 GB, free: 79.44 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01402/45.82, allocations: 10.37 MB / 11.84 GB, free: 76.58 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01426/45.84, allocations: 8.72 MB / 11.85 GB, free: 76.41 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.829e-05/45.84, allocations: 12.03 kB / 11.85 GB, free: 76.41 MB / 0.9792 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0496/45.89, allocations: 26.11 MB / 11.87 GB, free: 75.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005168/45.89, allocations: 29.72 MB / 11.9 GB, free: 44.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/45.89, allocations: 45.31 kB / 11.9 GB, free: 44.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7039/46.6, allocations: 170.4 MB / 12.07 GB, free: 42.06 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/46.61, allocations: 1.761 MB / 12.07 GB, free: 40.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04515/46.65, allocations: 26.57 MB / 12.1 GB, free: 24.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02032/46.67, allocations: 1.276 MB / 12.1 GB, free: 24.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003625/46.68, allocations: 0.8029 MB / 12.1 GB, free: 23.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/46.68, allocations: 7.844 kB / 12.1 GB, free: 23.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0492/46.72, allocations: 25.17 MB / 12.12 GB, free: 9.438 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002505/46.73, allocations: 44 kB / 12.12 GB, free: 9.395 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544/48.27, allocations: 170.6 MB / 12.29 GB, free: 91.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008261/48.28, allocations: 1.754 MB / 12.29 GB, free: 91.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05176/48.33, allocations: 30.93 MB / 12.32 GB, free: 87.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/48.35, allocations: 1.251 MB / 12.32 GB, free: 87.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/48.35, allocations: 0.756 MB / 12.32 GB, free: 87.37 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.002355/48.35, allocations: 0.5226 MB / 12.32 GB, free: 87.26 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00249/48.35, allocations: 1.215 MB / 12.32 GB, free: 87.26 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04285/48.4, allocations: 23.34 MB / 12.35 GB, free: 86.41 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/48.4, allocations: 73.98 kB / 12.35 GB, free: 86.41 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/48.4, allocations: 3.406 kB / 12.35 GB, free: 86.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02778/48.42, allocations: 17.8 MB / 12.36 GB, free: 85.77 MB / 0.9948 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.12/48.54, allocations: 54.2 MB / 12.42 GB, free: 75.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.418e-05/48.54, allocations: 4 kB / 12.42 GB, free: 75.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006103/48.55, allocations: 1.261 MB / 12.42 GB, free: 74.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1986/48.75, allocations: 48.87 MB / 12.47 GB, free: 37.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00157/48.75, allocations: 198 kB / 12.47 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02039/48.77, allocations: 14.71 MB / 12.48 GB, free: 26.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/48.77, allocations: 10.81 kB / 12.48 GB, free: 26.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05343/48.82, allocations: 32.85 MB / 12.51 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6875/49.51, allocations: 2.97 MB / 12.52 GB, free: 93.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004271/49.52, allocations: 132.5 kB / 12.52 GB, free: 93.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01323/49.53, allocations: 1.001 MB / 12.52 GB, free: 93.86 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/49.53, allocations: 467.9 kB / 12.52 GB, free: 93.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008469/49.53, allocations: 284.3 kB / 12.52 GB, free: 93.85 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01914/49.55, allocations: 9.156 MB / 12.53 GB, free: 93.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.01e-07/49.55, allocations: 0 / 12.53 GB, free: 93.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03854/49.59, allocations: 6.608 MB / 12.53 GB, free: 93.43 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (491): * Single equations (assignments): 469 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.06116/49.65, allocations: 38.11 MB / 12.57 GB, free: 87.74 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.05941/49.71, allocations: 33.53 MB / 12.6 GB, free: 87.03 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/49.71, allocations: 3.5 kB / 12.6 GB, free: 87.03 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01631/49.73, allocations: 9.227 MB / 12.61 GB, free: 86.89 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03032/49.76, allocations: 6.201 MB / 12.62 GB, free: 86.84 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04561/49.8, allocations: 24.69 MB / 12.64 GB, free: 82.31 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005491/49.81, allocations: 7.242 MB / 12.65 GB, free: 81.31 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0215/49.83, allocations: 6.405 MB / 12.66 GB, free: 81.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006075/49.83, allocations: 5.859 MB / 12.66 GB, free: 81.2 MB / 0.9948 GB Notification: Performance of SimCode: time 5.51e-07/49.83, allocations: 0 / 12.66 GB, free: 81.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.441/57.28, allocations: 0.5422 GB / 13.2 GB, free: 11.79 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/57.28, allocations: 225.7 kB / 13.2 GB, free: 11.56 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.73/87.01, allocations: 0 / 13.2 GB, free: 11.56 MB / 1.026 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)