Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.001008/0.001008, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002467, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0007087/0.0007087, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001711, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9722/0.9722, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08041/1.053, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.595/0.595, allocations: 120.1 MB / 364.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06669/0.6617, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.264e-05, allocations: 6.25 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.0024/0.002423, allocations: 1.392 MB / 405.2 MB, free: 9.484 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.003191, allocations: 0.572 MB / 405.7 MB, free: 8.91 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.00321, allocations: 0 / 405.7 MB, free: 8.91 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.416e-06/0.003218, allocations: 0 / 405.7 MB, free: 8.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.593e-05/0.003244, allocations: 7.938 kB / 405.7 MB, free: 8.902 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.003642, allocations: 139.3 kB / 405.9 MB, free: 8.766 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.174e-05/0.003694, allocations: 7.938 kB / 405.9 MB, free: 8.758 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.003737, allocations: 8 kB / 405.9 MB, free: 8.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.003787, allocations: 7.984 kB / 405.9 MB, free: 8.742 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.003839, allocations: 11.92 kB / 405.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.00385, allocations: 0 / 405.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.004336, allocations: 331.2 kB / 406.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.004352, allocations: 4 kB / 406.2 MB, free: 8.402 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.004366, allocations: 4 kB / 406.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.004603, allocations: 127.6 kB / 406.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.004614, allocations: 0 / 406.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.004615, allocations: 0 / 406.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.004625, allocations: 0 / 406.4 MB, free: 8.273 MB / 394.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.0003349/0.00496, allocations: 264.3 kB / 406.6 MB, free: 7.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.00499, allocations: 12.02 kB / 406.6 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.005016, allocations: 0.9375 kB / 406.6 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.627e-05/0.005092, allocations: 105.8 kB / 406.7 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.005102, allocations: 4.375 kB / 406.7 MB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.005111, allocations: 8.375 kB / 406.7 MB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.996e-05/0.005171, allocations: 30.2 kB / 406.8 MB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.005178, allocations: 3.938 kB / 406.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.005184, allocations: 0 / 406.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005189, allocations: 0 / 406.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.508e-06/0.005198, allocations: 11.97 kB / 406.8 MB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.586e-05/0.005274, allocations: 57.05 kB / 406.9 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.705e-05/0.005311, allocations: 18.61 kB / 406.9 MB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.203e-05/0.005323, allocations: 8.859 kB / 406.9 MB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.005339, allocations: 8.062 kB / 406.9 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.005358, allocations: 38.5 kB / 406.9 MB, free: 7.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.005359, allocations: 0 / 406.9 MB, free: 7.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 8.072e-05/0.00544, allocations: 37.69 kB / 407 MB, free: 7.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.005464, allocations: 55.34 kB / 407 MB, free: 7.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.671e-05/0.00551, allocations: 102.7 kB / 407.1 MB, free: 7.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.005518, allocations: 25.7 kB / 407.1 MB, free: 7.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.711e-05/0.005535, allocations: 80.14 kB / 407.2 MB, free: 7.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.005557, allocations: 3.953 kB / 407.2 MB, free: 7.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.005579, allocations: 17.95 kB / 407.2 MB, free: 7.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.00565, allocations: 314.8 kB / 407.5 MB, free: 6.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.005659, allocations: 7.938 kB / 407.6 MB, free: 6.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.005666, allocations: 3.938 kB / 407.6 MB, free: 6.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.005691, allocations: 12.86 kB / 407.6 MB, free: 6.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005693, allocations: 0 / 407.6 MB, free: 6.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.933e-05/0.005742, allocations: 37.69 kB / 407.6 MB, free: 6.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.005754, allocations: 4 kB / 407.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005759, allocations: 0 / 407.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.005771, allocations: 96 / 407.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.005908, allocations: 15.98 kB / 407.6 MB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002441/0.006152, allocations: 0.5898 MB / 408.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.278e-05/0.006165, allocations: 0 / 408.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.006169, allocations: 0 / 408.2 MB, free: 6.242 MB / 394.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 4.704e-05/0.006216, allocations: 109.8 kB / 408.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.006222, allocations: 7.938 kB / 408.3 MB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.715e-05/0.006289, allocations: 37 kB / 408.4 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.006292, allocations: 8.094 kB / 408.4 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.006293, allocations: 0 / 408.4 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006296, allocations: 0 / 408.4 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.871e-05/0.006344, allocations: 61.91 kB / 408.4 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006345, allocations: 0 / 408.4 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.006391, allocations: 11.92 kB / 408.4 MB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.006398, allocations: 11.94 kB / 408.5 MB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.006401, allocations: 3.938 kB / 408.5 MB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-06/0.006404, allocations: 0 / 408.5 MB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000171/0.006575, allocations: 0.586 MB / 409 MB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006576, allocations: 4.062 kB / 409.1 MB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.953e-05/0.006616, allocations: 61.02 kB / 409.1 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.006623, allocations: 0 / 409.1 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-06/0.006629, allocations: 0 / 409.1 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.00664, allocations: 7.984 kB / 409.1 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.006641, allocations: 0 / 409.1 MB, free: 5.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.257e-06/0.006651, allocations: 4.859 kB / 409.1 MB, free: 5.258 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006651, allocations: 0 / 409.1 MB, free: 5.258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001247/0.006775, allocations: 23.94 kB / 409.1 MB, free: 5.234 MB / 394.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.0001533/0.006929, allocations: 120.3 kB / 409.3 MB, free: 5.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.329e-05/0.007002, allocations: 16.84 kB / 409.3 MB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.007005, allocations: 0 / 409.3 MB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.007029, allocations: 16.84 kB / 409.3 MB, free: 5.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.902e-05/0.007088, allocations: 7.938 kB / 409.3 MB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.007473, allocations: 108.9 kB / 409.4 MB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.338e-05/0.007496, allocations: 55.36 kB / 409.5 MB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.547e-05/0.007512, allocations: 0 / 409.5 MB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.007537, allocations: 51.38 kB / 409.5 MB, free: 4.805 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007538, allocations: 0 / 409.5 MB, free: 4.805 MB / 394.7 MB Notification: Performance of Templates: time 0.001839/0.009377, allocations: 0.6342 MB / 410.2 MB, free: 4.172 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.088961306028068]