Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",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.006769/0.006769, allocations: 173.5 kB / 7.646 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 1.445/1.445, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.602/2.602, 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.001258/0.001258, allocations: 95.48 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 8.059e-05/8.036e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8353, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.492/9.327, allocations: 1.914 GB / 2.548 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/9.328, allocations: 83.95 kB / 2.548 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.688/19.02, allocations: 1.454 GB / 4.002 GB, free: 75.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.484e-06/19.02, allocations: 0 / 4.002 GB, free: 75.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002216/19.02, allocations: 37.75 kB / 4.002 GB, free: 75.14 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.009731/19.03, allocations: 1.904 MB / 4.004 GB, free: 74.72 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.982e-05/19.03, allocations: 7.188 kB / 4.004 GB, free: 74.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006704/19.03, allocations: 0.5096 MB / 4.004 GB, free: 74.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006612/19.04, allocations: 1.229 MB / 4.006 GB, free: 74.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001553/19.04, allocations: 240.4 kB / 4.006 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004409/19.04, allocations: 62.41 kB / 4.006 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002773/19.04, allocations: 0.7036 MB / 4.007 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/19.05, allocations: 1.054 MB / 4.008 GB, free: 74.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/19.05, allocations: 5.062 kB / 4.008 GB, free: 74.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/19.05, allocations: 3.438 kB / 4.008 GB, free: 74.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-05/19.05, allocations: 53.88 kB / 4.008 GB, free: 74.02 MB / 0.7136 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.01305/19.06, allocations: 6.381 MB / 4.014 GB, free: 70.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/19.06, allocations: 473.4 kB / 4.014 GB, free: 69.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004337/19.06, allocations: 176.2 kB / 4.015 GB, free: 69.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005674/19.06, allocations: 286.8 kB / 4.015 GB, free: 69.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/19.06, allocations: 38.12 kB / 4.015 GB, free: 69.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 5.49e-06/19.06, allocations: 0 / 4.015 GB, free: 69.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002262/19.07, allocations: 487.9 kB / 4.015 GB, free: 69.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/19.07, allocations: 57.84 kB / 4.015 GB, free: 69.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/19.07, allocations: 0.8307 MB / 4.016 GB, free: 69.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/19.07, allocations: 27.08 kB / 4.016 GB, free: 69.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/19.07, allocations: 0.6969 MB / 4.017 GB, free: 68.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/19.07, allocations: 112.9 kB / 4.017 GB, free: 68.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/19.07, allocations: 0 / 4.017 GB, free: 68.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002584/19.07, allocations: 342.6 kB / 4.017 GB, free: 68.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/19.07, allocations: 189.7 kB / 4.018 GB, free: 68.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009457/19.07, allocations: 0.5504 MB / 4.018 GB, free: 68.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/19.07, allocations: 298.6 kB / 4.018 GB, free: 68.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/19.07, allocations: 3.875 kB / 4.018 GB, free: 68.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002337/19.07, allocations: 0.7428 MB / 4.019 GB, free: 68.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001639/19.08, allocations: 4.099 MB / 4.023 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/19.08, allocations: 16.88 kB / 4.023 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.642e-05/19.08, allocations: 20.48 kB / 4.023 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/19.08, allocations: 207.9 kB / 4.023 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.189e-05/19.08, allocations: 25.08 kB / 4.023 GB, free: 63.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/19.08, allocations: 175.8 kB / 4.024 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/19.08, allocations: 42.55 kB / 4.024 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/19.08, allocations: 3.625 kB / 4.024 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002658/19.08, allocations: 0.6109 MB / 4.024 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-05/19.08, allocations: 14.48 kB / 4.024 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.371e-05/19.08, allocations: 15.94 kB / 4.024 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/19.08, allocations: 210.3 kB / 4.024 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-05/19.08, allocations: 26.33 kB / 4.024 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/19.09, allocations: 141.9 kB / 4.025 GB, free: 63.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/19.09, allocations: 45.59 kB / 4.025 GB, free: 63.76 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0004182/19.09, allocations: 137.1 kB / 4.025 GB, free: 63.65 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001734/19.09, allocations: 446.5 kB / 4.025 GB, free: 63.56 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/19.09, allocations: 111.2 kB / 4.025 GB, free: 63.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/19.09, allocations: 486.2 kB / 4.026 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/19.09, allocations: 3.219 kB / 4.026 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/19.09, allocations: 3.797 kB / 4.026 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/19.09, allocations: 1.688 kB / 4.026 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005049/19.1, allocations: 1.659 MB / 4.027 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/19.1, allocations: 3.062 kB / 4.027 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/19.1, allocations: 104.6 kB / 4.027 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.362e-05/19.1, allocations: 6.438 kB / 4.027 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/19.1, allocations: 7.766 kB / 4.027 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.085e-05/19.1, allocations: 12.25 kB / 4.027 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-05/19.1, allocations: 7.688 kB / 4.027 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/19.1, allocations: 0.8347 MB / 4.028 GB, free: 62.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007519/19.1, allocations: 251 kB / 4.029 GB, free: 62.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/19.1, allocations: 6.062 kB / 4.029 GB, free: 62.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/19.1, allocations: 115.2 kB / 4.029 GB, free: 62.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/19.1, allocations: 34.52 kB / 4.029 GB, free: 62.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/19.1, allocations: 19.56 kB / 4.029 GB, free: 62.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001705/19.1, allocations: 0.6183 MB / 4.029 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/19.1, allocations: 0 / 4.029 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005881/19.11, allocations: 0.8148 MB / 4.03 GB, free: 62.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.01245/19.12, allocations: 5.795 MB / 4.036 GB, free: 58.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002963/19.13, allocations: 0.7917 MB / 4.037 GB, free: 58.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/19.13, allocations: 6.375 kB / 4.037 GB, free: 58.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00052/19.13, allocations: 176.1 kB / 4.037 GB, free: 58.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003883/19.13, allocations: 390.4 kB / 4.037 GB, free: 58.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008996/19.14, allocations: 1.88 MB / 4.039 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/19.14, allocations: 1.216 MB / 4.04 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003396/19.14, allocations: 378.1 kB / 4.04 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009635/19.14, allocations: 456.1 kB / 4.041 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of SimCode: time 3.146e-06/19.14, allocations: 0 / 4.041 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1706/19.32, allocations: 48.14 MB / 4.088 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003648/19.32, allocations: 163 kB / 4.088 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.796/26.11, allocations: 0 / 4.088 GB, free: 55.6 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)