Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.0008329/0.0008329, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001004/0.001004, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8861/0.8861, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5924/0.5924, allocations: 114 MB / 373.9 MB, free: 8.703 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_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.759e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001623/0.001641, allocations: 1.263 MB / 0.5554 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006341/0.002275, allocations: 0.5136 MB / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.002297, allocations: 0 / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.002315, allocations: 3.984 kB / 0.5559 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.002357, allocations: 0 / 0.5559 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.003063, allocations: 143.3 kB / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.003117, allocations: 19.92 kB / 0.5561 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.003164, allocations: 0 / 0.5561 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.003198, allocations: 4 kB / 0.5561 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.003239, allocations: 3.984 kB / 0.5561 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.003253, allocations: 0 / 0.5561 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.003525, allocations: 275.3 kB / 0.5564 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.003538, allocations: 3.984 kB / 0.5564 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.003554, allocations: 0 / 0.5564 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.003742, allocations: 151.5 kB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003744, allocations: 4 kB / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003744, allocations: 0 / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003748, allocations: 0 / 0.5565 GB, free: 392 kB / 0.5105 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.0003113/0.00406, allocations: 270.1 kB / 0.5568 GB, free: 92 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.004104, allocations: 12.03 kB / 0.5568 GB, free: 80 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.004134, allocations: 34.73 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.921e-05/0.004153, allocations: 0.9375 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.094e-05/0.004234, allocations: 109.8 kB / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.004244, allocations: 12.25 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-06/0.00425, allocations: 384 / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.296e-05/0.004333, allocations: 42.02 kB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.004339, allocations: 0 / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.004346, allocations: 0 / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.004351, allocations: 0 / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.004374, allocations: 7.984 kB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.004488, allocations: 120.8 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.434e-05/0.004533, allocations: 26.53 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.004547, allocations: 8.922 kB / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.004565, allocations: 0 / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.004584, allocations: 42.42 kB / 0.5572 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.004584, allocations: 4 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001156/0.0047, allocations: 41.7 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.004731, allocations: 51.41 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.004782, allocations: 97.86 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.00479, allocations: 25.7 kB / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/0.004812, allocations: 84.12 kB / 0.5575 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.004835, allocations: 7.891 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.004856, allocations: 13.72 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.004926, allocations: 318.8 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.004936, allocations: 4.25 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.004941, allocations: 4 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.004963, allocations: 8.859 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.004965, allocations: 0 / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.978e-05/0.005005, allocations: 45.69 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.005019, allocations: 7.938 kB / 0.5579 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.005023, allocations: 0 / 0.5579 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.005033, allocations: 0 / 0.5579 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.005156, allocations: 11.98 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002499/0.005406, allocations: 0.5861 MB / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.005417, allocations: 4.031 kB / 0.5584 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.005422, allocations: 0 / 0.5584 GB, free: 14.19 MB / 0.5261 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 5.99e-05/0.005482, allocations: 113.8 kB / 0.5585 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-06/0.005485, allocations: 0 / 0.5585 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.047e-05/0.005566, allocations: 49 kB / 0.5586 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005567, allocations: 0 / 0.5586 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.005571, allocations: 3.938 kB / 0.5586 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005574, allocations: 0 / 0.5586 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.512e-05/0.005639, allocations: 132.8 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.00564, allocations: 0 / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.00569, allocations: 8 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.005692, allocations: 3.938 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.005698, allocations: 0 / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001851/0.005883, allocations: 0.5821 MB / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.005884, allocations: 3.938 kB / 0.5593 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.562e-05/0.00593, allocations: 65.11 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.005935, allocations: 3.938 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.005948, allocations: 12.12 kB / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.005959, allocations: 7.984 kB / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.005972, allocations: 3.938 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.005974, allocations: 0 / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.247e-05/0.005996, allocations: 79.28 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.005996, allocations: 0 / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000126/0.006122, allocations: 11.94 kB / 0.5595 GB, free: 13.02 MB / 0.5261 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.00027/0.006392, allocations: 0.6009 MB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.006511, allocations: 27.92 kB / 0.5601 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006513, allocations: 0 / 0.5601 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.006543, allocations: 12 kB / 0.5601 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.006647, allocations: 6.281 kB / 0.5601 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.006973, allocations: 134.4 kB / 0.5602 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.007005, allocations: 55.36 kB / 0.5603 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.333e-05/0.007018, allocations: 4.125 kB / 0.5603 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.007039, allocations: 8.5 kB / 0.5603 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.007039, allocations: 0 / 0.5603 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.02148, allocations: 1.954 MB / 0.5622 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.154, allocations: 10.27 kB / 0.5622 GB, free: 10.33 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.695319760590792] Failed to read output from testmodel.py, exit status != 0: 8.240866747684777 8.249922181 8.244513293 Calling exit ...