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.001334/0.001334, allocations: 76.45 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001126/0.001126, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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.9502/0.9502, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.5823/0.5823, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.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.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/3.038e-05, allocations: 6.281 kB / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003264/0.003295, allocations: 1.264 MB / 0.5554 GB, free: 440 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.00441, allocations: 0.5176 MB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.004458, allocations: 0 / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.004485, allocations: 0 / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.004538, allocations: 0 / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008376/0.005375, allocations: 147.2 kB / 0.5561 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.005444, allocations: 7.938 kB / 0.5561 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.709e-05/0.005511, allocations: 7.984 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.005555, allocations: 4 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.005623, allocations: 0 / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.00564, allocations: 0 / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.006117, allocations: 279.3 kB / 0.5564 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.006143, allocations: 0 / 0.5564 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.006172, allocations: 3.984 kB / 0.5564 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.006506, allocations: 147.6 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.006512, allocations: 4 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.006514, allocations: 0 / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.00652, allocations: 0 / 0.5565 GB, free: 15.32 MB / 490.7 MB 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.0004603/0.00698, allocations: 270.1 kB / 0.5568 GB, free: 15.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.007037, allocations: 12.62 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.007077, allocations: 30.75 kB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.00711, allocations: 0.9375 kB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.007219, allocations: 109.7 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.007237, allocations: 12.38 kB / 0.5569 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.007247, allocations: 384 / 0.5569 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.00737, allocations: 42 kB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.00738, allocations: 3.938 kB / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.00739, allocations: 0 / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.007395, allocations: 0 / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/0.007426, allocations: 7.938 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.00761, allocations: 124.8 kB / 0.5571 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/0.007678, allocations: 22.52 kB / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.0077, allocations: 8.859 kB / 0.5571 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.007733, allocations: 4.062 kB / 0.5571 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.00776, allocations: 34.5 kB / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.007761, allocations: 4 kB / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001741/0.007936, allocations: 41.64 kB / 0.5572 GB, free: 14.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.007978, allocations: 59.41 kB / 0.5573 GB, free: 14.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.008045, allocations: 89.86 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.008058, allocations: 29.64 kB / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.008087, allocations: 84.14 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.008122, allocations: 7.891 kB / 0.5575 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.00816, allocations: 17.72 kB / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.008265, allocations: 314.8 kB / 0.5578 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.008281, allocations: 256 / 0.5578 GB, free: 13.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.264e-05/0.008294, allocations: 8 kB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.00833, allocations: 12.86 kB / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008332, allocations: 0 / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.542e-05/0.008408, allocations: 33.7 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.008427, allocations: 11.94 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.008435, allocations: 3.984 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.00845, allocations: 0 / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.008642, allocations: 11.94 kB / 0.5579 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004048/0.009047, allocations: 0.5822 MB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.00908, allocations: 4 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.009088, allocations: 4.031 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB 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 9.749e-05/0.009186, allocations: 113.8 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.009195, allocations: 0 / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.009345, allocations: 48.94 kB / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.00935, allocations: 4 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.009356, allocations: 0 / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.00936, allocations: 4.125 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.009466, allocations: 128.6 kB / 0.5587 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.009469, allocations: 0 / 0.5587 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.009592, allocations: 11.98 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.009598, allocations: 0 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.009606, allocations: 0 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003342/0.00994, allocations: 0.5821 MB / 0.5593 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.009944, allocations: 3.938 kB / 0.5593 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.01004, allocations: 73.08 kB / 0.5594 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.01005, allocations: 128 / 0.5594 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.01006, allocations: 11.94 kB / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.01008, allocations: 4 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.0101, allocations: 3.938 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.0101, allocations: 0 / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.01014, allocations: 83.27 kB / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01014, allocations: 0 / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.01036, allocations: 7.938 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB 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.0006072/0.01097, allocations: 0.6087 MB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.01124, allocations: 19.98 kB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01124, allocations: 0 / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.01127, allocations: 11.98 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.01141, allocations: 7.938 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.01192, allocations: 130.4 kB / 0.5602 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.01196, allocations: 59.34 kB / 0.5603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.492e-05/0.01197, allocations: 8.062 kB / 0.5603 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.012, allocations: 8.5 kB / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.012, allocations: 0 / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.03168, allocations: 1.948 MB / 0.5622 GB, free: 9.273 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/7.922, allocations: 9.797 kB / 0.5622 GB, free: 9.27 MB / 490.7 MB " [Timeout remaining time 652] (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: 10.537502744235098] Failed to read output from testmodel.py, exit status != 0: 8.013157552108169 8.026126231 8.016386861 Calling exit ...