Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001282/0.001282, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.09 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.183, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002345/0.1854, allocations: 1.291 MB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009055/0.1863, allocations: 0.5916 MB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.1863, allocations: 0 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.1863, allocations: 3.984 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.555e-05/0.1864, allocations: 3.938 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.1869, allocations: 147 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.1869, allocations: 27.86 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.187, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.187, allocations: 4 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.187, allocations: 11.92 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1871, allocations: 8 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004695/0.1875, allocations: 343.3 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.1876, allocations: 8 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.1876, allocations: 7.938 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1878, allocations: 151.9 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1878, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1878, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.1879, allocations: 3.938 kB / 0.786 GB, free: 10.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005064/0.1884, allocations: 359.4 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1884, allocations: 12.03 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.1885, allocations: 34.75 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.1885, allocations: 4.938 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1887, allocations: 164.4 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1887, allocations: 384 / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1887, allocations: 4.375 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1889, allocations: 54.19 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1889, allocations: 3.938 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1889, allocations: 0 / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1889, allocations: 0 / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.189, allocations: 16 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.1893, allocations: 248.9 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1895, allocations: 54.56 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.1896, allocations: 16.86 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1896, allocations: 0 / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1896, allocations: 38.56 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1896, allocations: 0 / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002004/0.1898, allocations: 57.59 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1899, allocations: 51.41 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.1899, allocations: 106 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.19, allocations: 25.7 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.19, allocations: 92.02 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.19, allocations: 15.75 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.1901, allocations: 21.7 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.1902, allocations: 314.8 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.1902, allocations: 8 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.1902, allocations: 21.7 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.1903, allocations: 25.72 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1903, allocations: 3.938 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.788e-05/0.1904, allocations: 61.62 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1904, allocations: 8 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1904, allocations: 0 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1904, allocations: 0 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.1905, allocations: 8 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1905, allocations: 0 / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.1905, allocations: 0 / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1906, allocations: 7.984 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.381e-05/0.1906, allocations: 117.7 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1907, allocations: 11.94 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.1908, allocations: 57.19 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1908, allocations: 3.938 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1908, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1908, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.191, allocations: 161.5 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.191, allocations: 0 / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.191, allocations: 11.98 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.191, allocations: 0 / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1911, allocations: 4.125 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1911, allocations: 4 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1911, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.1912, allocations: 151.4 kB / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.1912, allocations: 81.11 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1913, allocations: 4 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.1913, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.1913, allocations: 3.984 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1913, allocations: 8 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.1914, allocations: 75.28 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1914, allocations: 3.938 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002504/0.1916, allocations: 20 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004241/0.1921, allocations: 0.7127 MB / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1922, allocations: 24.03 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1922, allocations: 4 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.1922, allocations: 15.92 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1924, allocations: 6.438 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.1929, allocations: 152.2 kB / 0.7893 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.1931, allocations: 0.6768 MB / 0.79 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.1931, allocations: 4.062 kB / 0.79 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.1932, allocations: 15.42 kB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1932, allocations: 0 / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.209, allocations: 1.377 MB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.245, allocations: 5 kB / 0.7914 GB, free: 4.969 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)