Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 109 kB / 20.48 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 210 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 257.6 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.019/1.019, allocations: 150 MB / 464 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 66.22 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1831, allocations: 89.17 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00247/0.1855, allocations: 1.268 MB / 0.7304 GB, free: 0 / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1866, allocations: 0.5877 MB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.1867, allocations: 0 / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.1867, allocations: 0 / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.1867, allocations: 3.938 kB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.1872, allocations: 131.5 kB / 0.7311 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.08e-05/0.1873, allocations: 15.94 kB / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.1873, allocations: 11.97 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.1873, allocations: 4 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.1874, allocations: 3.938 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.1874, allocations: 0 / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005961/0.188, allocations: 347.3 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.188, allocations: 3.984 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.188, allocations: 0 / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1883, allocations: 151.8 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1883, allocations: 0 / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1883, allocations: 0 / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1883, allocations: 0 / 0.7316 GB, free: 14.75 MB / 0.5606 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.0003792/0.1887, allocations: 278 kB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1887, allocations: 12.03 kB / 0.7318 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.118e-05/0.1887, allocations: 192 / 0.7318 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.1888, allocations: 30.75 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.1888, allocations: 4.891 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.545e-05/0.1889, allocations: 106.5 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1889, allocations: 4.375 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.1889, allocations: 7.875 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.292e-05/0.189, allocations: 41.69 kB / 0.732 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.189, allocations: 0 / 0.732 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.189, allocations: 0 / 0.732 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.189, allocations: 3.938 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.189, allocations: 4 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1892, allocations: 124.8 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.1892, allocations: 22.52 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.1893, allocations: 12.8 kB / 0.7322 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1893, allocations: 4.062 kB / 0.7322 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1893, allocations: 34.56 kB / 0.7322 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1893, allocations: 0 / 0.7322 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001412/0.1894, allocations: 37.69 kB / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1895, allocations: 51.41 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.1896, allocations: 101.8 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1896, allocations: 29.95 kB / 0.7324 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.1896, allocations: 80.14 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1896, allocations: 7.953 kB / 0.7325 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.1897, allocations: 9.719 kB / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1898, allocations: 318.8 kB / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.1898, allocations: 7.938 kB / 0.7328 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-06/0.1898, allocations: 0 / 0.7328 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.1899, allocations: 16.92 kB / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1899, allocations: 4 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.744e-05/0.1899, allocations: 41.62 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1899, allocations: 4 kB / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1899, allocations: 0 / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.19, allocations: 0 / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1901, allocations: 8 kB / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003928/0.1905, allocations: 0.586 MB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.1905, allocations: 19.97 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.1905, allocations: 0 / 0.7335 GB, free: 12.55 MB / 0.5606 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 0.0001546/0.1907, allocations: 117.3 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.1907, allocations: 0 / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.1908, allocations: 52.94 kB / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1908, allocations: 0 / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1908, allocations: 0 / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1908, allocations: 7.969 kB / 0.7337 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1909, allocations: 116.8 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1909, allocations: 0 / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.191, allocations: 15.92 kB / 0.7338 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.191, allocations: 0 / 0.7338 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.191, allocations: 4 kB / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004179/0.1914, allocations: 0.5821 MB / 0.7344 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1914, allocations: 0 / 0.7344 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.1916, allocations: 73.19 kB / 0.7344 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.1916, allocations: 0 / 0.7344 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1916, allocations: 7.938 kB / 0.7345 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.1917, allocations: 0 / 0.7345 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.1917, allocations: 3.984 kB / 0.7345 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.1917, allocations: 4 kB / 0.7345 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.1917, allocations: 79.31 kB / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1917, allocations: 0 / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002047/0.1919, allocations: 11.94 kB / 0.7345 GB, free: 11.38 MB / 0.5606 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.0004635/0.1924, allocations: 0.6162 MB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1925, allocations: 24.05 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1925, allocations: 0 / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.1926, allocations: 11.98 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.1928, allocations: 8 kB / 0.7352 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.1932, allocations: 135.7 kB / 0.7353 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.1937, allocations: 0.6806 MB / 0.736 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.477e-05/0.1937, allocations: 4.125 kB / 0.736 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.1937, allocations: 7.438 kB / 0.736 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1937, allocations: 3.938 kB / 0.736 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.2157, allocations: 1.404 MB / 0.7374 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/12.97, allocations: 10.88 kB / 0.7374 GB, free: 8.566 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.885129201051313] Failed to read output from testmodel.py, exit status != 0: 13.138388839026447 13.165098901 12.972616719 Calling exit ...