Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.001085/0.001085, allocations: 99.73 kB / 19.7 MB, free: 452 kB / 13.93 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.001086/0.001086, allocations: 212.6 kB / 23 MB, free: 2.984 MB / 13.93 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 0.9774/0.9774, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] 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 0.644/0.644, allocations: 151.4 MB / 464.5 MB, free: 13.04 MB / 362.7 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.InvertingPowerLaw_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",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.001524/0.001524, allocations: 68.64 kB / 0.6433 GB, free: 18 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1738, allocations: 89.56 MB / 0.7308 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.0028/0.1766, allocations: 1.344 MB / 0.7321 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.178, allocations: 0.8368 MB / 0.7329 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.178, allocations: 4 kB / 0.7329 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.178, allocations: 3.984 kB / 0.7329 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.1781, allocations: 7.875 kB / 0.7329 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.1788, allocations: 211 kB / 0.7331 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.1789, allocations: 39.78 kB / 0.7332 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.179, allocations: 4 kB / 0.7332 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.179, allocations: 15.94 kB / 0.7332 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.1791, allocations: 19.86 kB / 0.7332 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1791, allocations: 4 kB / 0.7332 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000601/0.1797, allocations: 375.5 kB / 0.7336 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.1797, allocations: 7.922 kB / 0.7336 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1797, allocations: 15.88 kB / 0.7336 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.1801, allocations: 259.2 kB / 0.7338 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1801, allocations: 3.984 kB / 0.7338 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1801, allocations: 0 / 0.7338 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.1802, allocations: 0 / 0.7338 GB, free: 5.281 MB / 0.5417 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.0004928/0.1806, allocations: 339.2 kB / 0.7342 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1807, allocations: 16.03 kB / 0.7342 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.1807, allocations: 30.75 kB / 0.7342 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.181, allocations: 20.86 kB / 0.7342 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1811, allocations: 121.2 kB / 0.7343 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1811, allocations: 4.375 kB / 0.7344 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1811, allocations: 4.125 kB / 0.7344 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1813, allocations: 41.67 kB / 0.7344 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1813, allocations: 0 / 0.7344 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1813, allocations: 0 / 0.7344 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1813, allocations: 4 kB / 0.7344 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1814, allocations: 19.98 kB / 0.7344 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.1816, allocations: 136.7 kB / 0.7345 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1818, allocations: 46.48 kB / 0.7346 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.1818, allocations: 20.84 kB / 0.7346 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1819, allocations: 0 / 0.7346 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1819, allocations: 38.56 kB / 0.7346 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1819, allocations: 0 / 0.7346 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002968/0.1822, allocations: 61.67 kB / 0.7347 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1822, allocations: 51.41 kB / 0.7348 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1823, allocations: 138 kB / 0.7349 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1823, allocations: 25.7 kB / 0.7349 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1824, allocations: 84.08 kB / 0.735 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.1824, allocations: 7.953 kB / 0.735 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.1824, allocations: 25.7 kB / 0.735 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.1825, allocations: 322.8 kB / 0.7353 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.1826, allocations: 16 kB / 0.7353 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.1827, allocations: 28.11 kB / 0.7354 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1828, allocations: 44.83 kB / 0.7354 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1828, allocations: 0 / 0.7354 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000199/0.183, allocations: 89.56 kB / 0.7355 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.183, allocations: 4 kB / 0.7355 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.1831, allocations: 4 kB / 0.7355 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1831, allocations: 0 / 0.7355 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.1838, allocations: 87.81 kB / 0.7356 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.1859, allocations: 1.403 MB / 0.737 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.1859, allocations: 15.86 kB / 0.737 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.186, allocations: 0 / 0.737 GB, free: 1.758 MB / 0.5417 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001049/0.1861, allocations: 117.7 kB / 0.7371 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.1861, allocations: 0 / 0.7371 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.1861, allocations: 11.62 kB / 0.7371 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1861, allocations: 3.938 kB / 0.7371 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1861, allocations: 8.031 kB / 0.7371 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1861, allocations: 3.984 kB / 0.7371 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1862, allocations: 128.8 kB / 0.7372 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1862, allocations: 0 / 0.7372 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008097/0.187, allocations: 103.8 kB / 0.7373 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1871, allocations: 0 / 0.7373 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1871, allocations: 0 / 0.7373 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.1888, allocations: 1.41 MB / 0.7387 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1888, allocations: 0 / 0.7387 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1889, allocations: 81.03 kB / 0.7388 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.189, allocations: 7.953 kB / 0.7388 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.189, allocations: 0 / 0.7388 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.189, allocations: 8 kB / 0.7388 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.189, allocations: 4.109 kB / 0.7388 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.189, allocations: 4 kB / 0.7388 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.1891, allocations: 95.27 kB / 0.7389 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1e-07/0.1891, allocations: 0 / 0.7389 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002926/0.1894, allocations: 23.94 kB / 0.7389 GB, free: 15.58 MB / 0.5573 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.0004926/0.1899, allocations: 0.6241 MB / 0.7395 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008949/0.1908, allocations: 153.6 kB / 0.7397 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1908, allocations: 0 / 0.7397 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00086/0.1916, allocations: 127.8 kB / 0.7398 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.192, allocations: 7.938 kB / 0.7398 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1934, allocations: 1.288 MB / 0.7411 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.031e-05/0.1935, allocations: 63.45 kB / 0.7411 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.1935, allocations: 3.859 kB / 0.7411 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.1935, allocations: 15.38 kB / 0.7412 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/0.1935, allocations: 0 / 0.7412 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.2119, allocations: 2.93 MB / 0.744 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.123, allocations: 9.797 kB / 0.744 GB, free: 10.36 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.989944824992563]