Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified4",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.001271/0.001271, 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.718/0.718, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.489/1.489, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0009353/0.0009355, allocations: 97.92 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.408e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.146, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.362, allocations: 424.8 MB / 1.055 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.362, allocations: 93.17 kB / 1.055 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 46.44/47.8, allocations: 10.53 GB / 11.59 GB, free: 38.71 MB / 0.9793 GB Notification: Performance of FrontEnd: time 2.214e-06/47.8, allocations: 0 / 11.59 GB, free: 38.71 MB / 0.9793 GB Notification: Performance of Transformations before backend: time 0.003781/47.81, allocations: 391.9 kB / 11.59 GB, free: 38.71 MB / 0.9793 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05023/47.86, allocations: 12.17 MB / 11.6 GB, free: 36.01 MB / 0.9793 GB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/47.86, allocations: 11.12 kB / 11.6 GB, free: 36.01 MB / 0.9793 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005863/47.86, allocations: 0.9063 MB / 11.6 GB, free: 35.93 MB / 0.9793 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/47.88, allocations: 2.2 MB / 11.6 GB, free: 35.06 MB / 0.9793 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06934/47.95, allocations: 20.28 MB / 11.62 GB, free: 32.77 MB / 0.9793 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001347/47.95, allocations: 0.6004 MB / 11.62 GB, free: 32.76 MB / 0.9793 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005912/47.96, allocations: 0.8114 MB / 11.62 GB, free: 32.75 MB / 0.9793 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04198/48, allocations: 13.98 MB / 11.64 GB, free: 31.97 MB / 0.9793 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006122/48, allocations: 8.75 kB / 11.64 GB, free: 31.97 MB / 0.9793 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004623/48, allocations: 292.1 kB / 11.64 GB, free: 31.97 MB / 0.9793 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003078/48, allocations: 187.8 kB / 11.64 GB, free: 31.97 MB / 0.9793 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03553/48.04, allocations: 18.06 MB / 11.65 GB, free: 31.91 MB / 0.9793 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.1491/48.19, allocations: 74.28 MB / 11.73 GB, free: 14.21 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/48.2, allocations: 9.526 MB / 11.74 GB, free: 14.04 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01281/48.22, allocations: 8.489 MB / 11.75 GB, free: 13.98 MB / 0.9949 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.07061/48.29, allocations: 30.3 MB / 11.77 GB, free: 21.36 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01452/48.3, allocations: 8.101 MB / 11.78 GB, free: 21.24 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04631/48.35, allocations: 14.97 MB / 11.8 GB, free: 21.01 MB / 1.011 GB Notification: Performance of pre-optimization done (n=427): time 3.947e-05/48.35, allocations: 0 / 11.8 GB, free: 21.01 MB / 1.011 GB Notification: Performance of matching and sorting (n=613): time 0.2335/48.58, allocations: 73.43 MB / 11.87 GB, free: 13.4 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/48.58, allocations: 114.1 kB / 11.87 GB, free: 13.33 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03556/48.62, allocations: 12.79 MB / 11.88 GB, free: 12.54 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.003916/48.62, allocations: 188.3 kB / 11.88 GB, free: 12.5 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.009893/48.63, allocations: 6.668 MB / 11.89 GB, free: 10.53 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.006218/48.64, allocations: 2.073 MB / 11.89 GB, free: 8.918 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003602/48.64, allocations: 157.1 kB / 11.89 GB, free: 8.797 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0009196/48.64, allocations: 0.6203 MB / 11.89 GB, free: 8.348 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01517/48.66, allocations: 7.813 MB / 11.9 GB, free: 5.176 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01839/48.68, allocations: 10.59 MB / 11.91 GB, free: 14.69 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01733/48.69, allocations: 8.8 MB / 11.92 GB, free: 11.25 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.665e-05/48.69, allocations: 17 kB / 11.92 GB, free: 11.25 MB / 1.026 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.06392/48.76, allocations: 25.96 MB / 11.94 GB, free: 1.934 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.017/49.78, allocations: 34.9 MB / 11.98 GB, free: 76.74 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002356/49.78, allocations: 52.72 kB / 11.98 GB, free: 76.74 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6278/50.4, allocations: 146.4 MB / 12.12 GB, free: 76.35 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/50.42, allocations: 1.951 MB / 12.12 GB, free: 76.33 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04327/50.46, allocations: 24.61 MB / 12.15 GB, free: 71.21 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02307/50.48, allocations: 1.369 MB / 12.15 GB, free: 71.14 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004557/50.49, allocations: 0.8134 MB / 12.15 GB, free: 71.14 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/50.49, allocations: 3.781 kB / 12.15 GB, free: 71.14 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05721/50.54, allocations: 24.92 MB / 12.17 GB, free: 70.71 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002757/50.54, allocations: 51.19 kB / 12.17 GB, free: 70.71 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6317/51.18, allocations: 146.8 MB / 12.32 GB, free: 14.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/51.19, allocations: 1.941 MB / 12.32 GB, free: 12.86 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146/52.33, allocations: 28.88 MB / 12.35 GB, free: 106.1 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02124/52.35, allocations: 1.336 MB / 12.35 GB, free: 106.1 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003986/52.36, allocations: 0.7711 MB / 12.35 GB, free: 106.1 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * 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 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005706/52.36, allocations: 0.5636 MB / 12.35 GB, free: 106 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005852/52.37, allocations: 1.302 MB / 12.35 GB, free: 106 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07867/52.45, allocations: 26.7 MB / 12.38 GB, free: 105.5 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000158/52.45, allocations: 79.45 kB / 12.38 GB, free: 105.5 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.577e-05/52.45, allocations: 4.812 kB / 12.38 GB, free: 105.5 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06204/52.51, allocations: 21.12 MB / 12.4 GB, free: 105.1 MB / 1.057 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.2012/52.71, allocations: 60.05 MB / 12.46 GB, free: 98.72 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.241e-05/52.71, allocations: 5.719 kB / 12.46 GB, free: 98.72 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007698/52.72, allocations: 1.362 MB / 12.46 GB, free: 98.72 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1813/52.9, allocations: 41.9 MB / 12.5 GB, free: 98.64 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002318/52.9, allocations: 210.4 kB / 12.5 GB, free: 98.64 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02406/52.93, allocations: 13.63 MB / 12.51 GB, free: 93.51 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/52.93, allocations: 9.484 kB / 12.51 GB, free: 93.51 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1033/53.03, allocations: 38.67 MB / 12.55 GB, free: 89.95 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01308/53.04, allocations: 3.128 MB / 12.55 GB, free: 89.12 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006537/53.05, allocations: 141.5 kB / 12.55 GB, free: 89.11 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01658/53.07, allocations: 1.062 MB / 12.55 GB, free: 89.09 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002215/53.07, allocations: 474.5 kB / 12.55 GB, free: 89.07 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001848/53.07, allocations: 303.5 kB / 12.55 GB, free: 89.07 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0222/53.09, allocations: 9.739 MB / 12.56 GB, free: 88.66 MB / 1.057 GB Notification: Performance of sort global known variables: time 4.81e-07/53.09, allocations: 0.9844 kB / 12.56 GB, free: 88.66 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.05539/53.15, allocations: 7.213 MB / 12.57 GB, free: 88.66 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * 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 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.1148/53.26, allocations: 44.18 MB / 12.61 GB, free: 80.68 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0697/53.33, allocations: 32.95 MB / 12.65 GB, free: 63.95 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/53.33, allocations: 4 kB / 12.65 GB, free: 63.95 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01745/53.35, allocations: 8.936 MB / 12.65 GB, free: 58.23 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04148/53.39, allocations: 6.738 MB / 12.66 GB, free: 53.77 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07936/53.47, allocations: 26.57 MB / 12.69 GB, free: 30.85 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0133/53.49, allocations: 7.732 MB / 12.69 GB, free: 25.48 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.03498/53.52, allocations: 6.808 MB / 12.7 GB, free: 20.96 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01143/53.53, allocations: 6.44 MB / 12.71 GB, free: 15.02 MB / 1.057 GB Notification: Performance of SimCode: time 9.52e-07/53.53, allocations: 0 / 12.71 GB, free: 15.02 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.852/56.38, allocations: 0.5645 GB / 13.27 GB, free: 127.8 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/56.39, allocations: 213.1 kB / 13.27 GB, free: 127.5 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.7/88.08, allocations: 0 / 13.27 GB, free: 127.5 MB / 1.104 GB (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified4.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)