Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001606/0.001606, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.001793/0.001793, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0025/0.0025, allocations: 274.8 kB / 309.8 MB, free: 3.465 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.082/1.082, allocations: 180.6 MB / 0.5338 GB, free: 12.35 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003095/0.003095, allocations: 112.2 kB / 0.7347 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5262, allocations: 95.33 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002356/0.5286, allocations: 1.27 MB / 0.829 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.5294, allocations: 0.5982 MB / 0.8296 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.5294, allocations: 0 / 0.8296 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.5294, allocations: 7.438 kB / 0.8296 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.5295, allocations: 3.984 kB / 0.8296 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.53, allocations: 142.7 kB / 0.8297 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.772e-05/0.53, allocations: 14.31 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.53, allocations: 0.6562 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.5301, allocations: 3.234 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.5301, allocations: 3.984 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.5301, allocations: 0 / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.5306, allocations: 344.5 kB / 0.8301 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.5306, allocations: 4.734 kB / 0.8301 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.5306, allocations: 3.391 kB / 0.8301 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.5309, allocations: 144.9 kB / 0.8302 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5309, allocations: 4 kB / 0.8302 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5309, allocations: 0 / 0.8302 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5309, allocations: 2.875 kB / 0.8303 GB, free: 1.488 MB / 0.5762 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.0003242/0.5312, allocations: 347.4 kB / 0.8306 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5312, allocations: 13.09 kB / 0.8306 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.616e-05/0.5312, allocations: 192 / 0.8306 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.704e-05/0.5313, allocations: 34.44 kB / 0.8306 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.5313, allocations: 0.9375 kB / 0.8306 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.5314, allocations: 165.6 kB / 0.8308 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.5314, allocations: 6.719 kB / 0.8308 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.5314, allocations: 384 / 0.8308 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.025e-05/0.5315, allocations: 38.73 kB / 0.8308 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5315, allocations: 0 / 0.8308 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.5315, allocations: 0 / 0.8308 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5315, allocations: 2.594 kB / 0.8308 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.449e-05/0.5315, allocations: 3.141 kB / 0.8308 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.5316, allocations: 159.5 kB / 0.831 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.5317, allocations: 22.19 kB / 0.831 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.5317, allocations: 12.56 kB / 0.831 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.5317, allocations: 0 / 0.831 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.5317, allocations: 36.42 kB / 0.8311 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.5317, allocations: 0 / 0.8311 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001336/0.5319, allocations: 41.53 kB / 0.8311 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.5319, allocations: 51.53 kB / 0.8311 GB, free: 460 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.5319, allocations: 102.3 kB / 0.8312 GB, free: 352 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.5319, allocations: 26.41 kB / 0.8313 GB, free: 320 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.277e-05/0.5319, allocations: 87.17 kB / 0.8314 GB, free: 232 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.532, allocations: 4.844 kB / 0.8314 GB, free: 228 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.532, allocations: 21.27 kB / 0.8314 GB, free: 204 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5321, allocations: 311.7 kB / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.5321, allocations: 3.531 kB / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.5321, allocations: 4.688 kB / 0.8317 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.5321, allocations: 15.25 kB / 0.8317 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5321, allocations: 0 / 0.8317 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.972e-05/0.5322, allocations: 39.69 kB / 0.8317 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5322, allocations: 8.906 kB / 0.8317 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5322, allocations: 2.938 kB / 0.8317 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5323, allocations: 0.75 kB / 0.8317 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.5324, allocations: 7.609 kB / 0.8318 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004124/0.5328, allocations: 0.5893 MB / 0.8323 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.5328, allocations: 0 / 0.8323 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.5328, allocations: 0.75 kB / 0.8323 GB, free: 15.24 MB / 0.5919 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 8.815e-05/0.5329, allocations: 115.3 kB / 0.8324 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.5329, allocations: 4.688 kB / 0.8324 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.5331, allocations: 52.34 kB / 0.8325 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5331, allocations: 2.969 kB / 0.8325 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.5331, allocations: 0 / 0.8325 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5331, allocations: 0.7031 kB / 0.8325 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.5332, allocations: 158.9 kB / 0.8326 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5332, allocations: 0 / 0.8326 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.5333, allocations: 14.2 kB / 0.8327 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5333, allocations: 0 / 0.8327 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.5333, allocations: 0 / 0.8327 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003485/0.5336, allocations: 0.593 MB / 0.8332 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5336, allocations: 0 / 0.8332 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.948e-05/0.5337, allocations: 60.73 kB / 0.8333 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.5338, allocations: 80.34 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5338, allocations: 0.5156 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.5338, allocations: 3.938 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.5338, allocations: 5.203 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.5338, allocations: 2.688 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.5338, allocations: 75.94 kB / 0.8335 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5338, allocations: 5.031 kB / 0.8335 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002003/0.534, allocations: 12.55 kB / 0.8335 GB, free: 14.02 MB / 0.5919 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.0004623/0.5345, allocations: 0.6179 MB / 0.8341 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.5347, allocations: 16.56 kB / 0.8341 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5347, allocations: 2.656 kB / 0.8341 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.5348, allocations: 15.5 kB / 0.8341 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.5349, allocations: 5.25 kB / 0.8341 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.5355, allocations: 139.4 kB / 0.8343 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.5358, allocations: 0.674 MB / 0.8349 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.5358, allocations: 0.9375 kB / 0.8349 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.5358, allocations: 7.438 kB / 0.8349 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.5358, allocations: 0 / 0.8349 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.557, allocations: 1.454 MB / 0.8363 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.49, allocations: 9.781 kB / 0.8363 GB, free: 12.18 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.416887794970535] Failed to read output from testmodel.py, exit status != 0: 12.632709720986895 12.655762676 12.120504697 Calling exit ...