Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001026/0.001026, allocations: 109.4 kB / 15.69 MB, free: 128 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.001032/0.001032, allocations: 189.3 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9983/0.9983, allocations: 143 MB / 433.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 0.5144 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1808, allocations: 82.04 MB / 0.5945 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002415/0.1833, allocations: 1.247 MB / 0.5958 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.1842, allocations: 0.5877 MB / 0.5963 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.1843, allocations: 4 kB / 0.5963 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.1843, allocations: 0 / 0.5963 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.651e-05/0.1844, allocations: 0 / 0.5963 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.1849, allocations: 139.4 kB / 0.5965 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.174e-05/0.1849, allocations: 19.84 kB / 0.5965 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.185, allocations: 4 kB / 0.5965 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.185, allocations: 0 / 0.5965 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.1851, allocations: 11.94 kB / 0.5965 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1851, allocations: 4 kB / 0.5965 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.1856, allocations: 343.3 kB / 0.5968 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.1856, allocations: 0 / 0.5968 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.1856, allocations: 7.938 kB / 0.5968 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1859, allocations: 140 kB / 0.597 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.1859, allocations: 0 / 0.597 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1859, allocations: 3.938 kB / 0.597 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1859, allocations: 0 / 0.597 GB, free: 6.844 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003999/0.1863, allocations: 351.4 kB / 0.5973 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1863, allocations: 8.625 kB / 0.5973 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.1864, allocations: 42.75 kB / 0.5974 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.1864, allocations: 4.844 kB / 0.5974 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1865, allocations: 164.4 kB / 0.5975 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1865, allocations: 384 / 0.5975 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.1866, allocations: 384 / 0.5975 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.942e-05/0.1866, allocations: 38.25 kB / 0.5976 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1867, allocations: 3.938 kB / 0.5976 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.1867, allocations: 0 / 0.5976 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1867, allocations: 4 kB / 0.5976 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/0.1867, allocations: 7.938 kB / 0.5976 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.1869, allocations: 153.7 kB / 0.5977 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.187, allocations: 22.61 kB / 0.5977 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.187, allocations: 8.922 kB / 0.5978 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.187, allocations: 0 / 0.5978 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.187, allocations: 30.56 kB / 0.5978 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.187, allocations: 4 kB / 0.5978 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000138/0.1872, allocations: 53.56 kB / 0.5978 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1872, allocations: 51.41 kB / 0.5979 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.1873, allocations: 93.86 kB / 0.598 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1873, allocations: 25.7 kB / 0.598 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.1874, allocations: 84.14 kB / 0.5981 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1874, allocations: 3.906 kB / 0.5981 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1874, allocations: 13.97 kB / 0.5981 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.1875, allocations: 318.8 kB / 0.5984 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.1875, allocations: 0 / 0.5984 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.1876, allocations: 8 kB / 0.5984 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.1876, allocations: 12.8 kB / 0.5984 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1876, allocations: 0 / 0.5984 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.087e-05/0.1877, allocations: 41.64 kB / 0.5985 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1877, allocations: 15.92 kB / 0.5985 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1877, allocations: 96 / 0.5985 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1877, allocations: 7.938 kB / 0.5985 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1879, allocations: 8 kB / 0.5985 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003358/0.1882, allocations: 0.5782 MB / 0.5991 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.1882, allocations: 0 / 0.5991 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1882, allocations: 3.984 kB / 0.5991 GB, free: 4.453 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/0.1883, allocations: 121.8 kB / 0.5992 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.1883, allocations: 3.906 kB / 0.5992 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.709e-05/0.1884, allocations: 44.81 kB / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1884, allocations: 0 / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1885, allocations: 0 / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1885, allocations: 3.984 kB / 0.5992 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.477e-05/0.1886, allocations: 157.6 kB / 0.5994 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1886, allocations: 0 / 0.5994 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.1886, allocations: 11.98 kB / 0.5994 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1887, allocations: 0 / 0.5994 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.1887, allocations: 4.031 kB / 0.5994 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002724/0.1889, allocations: 0.586 MB / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.189, allocations: 3.938 kB / 0.6 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.381e-05/0.189, allocations: 61.16 kB / 0.6 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.1891, allocations: 85.23 kB / 0.6001 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.1891, allocations: 0 / 0.6001 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.605e-05/0.1891, allocations: 8 kB / 0.6001 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.1891, allocations: 7.922 kB / 0.6001 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.1891, allocations: 0 / 0.6001 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.1892, allocations: 79.28 kB / 0.6002 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1892, allocations: 0 / 0.6002 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001951/0.1894, allocations: 7.938 kB / 0.6002 GB, free: 3.156 MB / 0.4981 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003664/0.1897, allocations: 0.6164 MB / 0.6008 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.1899, allocations: 16 kB / 0.6008 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1899, allocations: 3.938 kB / 0.6008 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.19, allocations: 19.92 kB / 0.6008 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.1902, allocations: 8.094 kB / 0.6009 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.1906, allocations: 137.4 kB / 0.601 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.1909, allocations: 0.6768 MB / 0.6016 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.428e-05/0.1909, allocations: 0 / 0.6016 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.1909, allocations: 7.438 kB / 0.6017 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1909, allocations: 0 / 0.6017 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.2086, allocations: 1.398 MB / 0.603 GB, free: 416 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.16, allocations: 3.203 kB / 0.603 GB, free: 416 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)