Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001355/0.001355, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001513/0.001513, allocations: 166.5 kB / 22.46 MB, free: 5.375 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.558/1.558, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9219/0.9219, allocations: 110.2 MB / 369.4 MB, free: 1.164 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5478 GB, free: 9.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.468e-05, allocations: 2.281 kB / 0.5478 GB, free: 9.699 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002381/0.002405, allocations: 1.269 MB / 0.549 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.003391, allocations: 0.5202 MB / 0.5495 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.003412, allocations: 0.5625 kB / 0.5495 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.003426, allocations: 4.562 kB / 0.5495 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 2.71e-05/0.003453, allocations: 3.938 kB / 0.5495 GB, free: 7.906 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.004032, allocations: 149.2 kB / 0.5497 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.964e-05/0.004072, allocations: 11.94 kB / 0.5497 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.004106, allocations: 5 kB / 0.5497 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.004132, allocations: 7.984 kB / 0.5497 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.824e-05/0.00416, allocations: 3.938 kB / 0.5497 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.00417, allocations: 1.688 kB / 0.5497 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.00467, allocations: 279.3 kB / 0.55 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.004682, allocations: 0 / 0.55 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.328e-05/0.004695, allocations: 0 / 0.55 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.005015, allocations: 147.6 kB / 0.5501 GB, free: 7.316 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.005016, allocations: 3.094 kB / 0.5501 GB, free: 7.316 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005017, allocations: 0 / 0.5501 GB, free: 7.316 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.005025, allocations: 0 / 0.5501 GB, free: 7.316 MB / 462.1 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.0003843/0.005409, allocations: 286 kB / 0.5504 GB, free: 7.004 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.005441, allocations: 12.03 kB / 0.5504 GB, free: 6.992 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.005466, allocations: 0.9375 kB / 0.5504 GB, free: 6.992 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.005579, allocations: 109.7 kB / 0.5505 GB, free: 6.859 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-06/0.005586, allocations: 4.375 kB / 0.5505 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.005596, allocations: 384 / 0.5505 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.804e-05/0.005674, allocations: 34.27 kB / 0.5505 GB, free: 6.816 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.00568, allocations: 192 / 0.5505 GB, free: 6.816 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.005688, allocations: 4.359 kB / 0.5505 GB, free: 6.812 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-06/0.00569, allocations: 384 / 0.5505 GB, free: 6.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.005718, allocations: 7.938 kB / 0.5505 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.005856, allocations: 97.33 kB / 0.5506 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.568e-05/0.005912, allocations: 26.55 kB / 0.5507 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.005948, allocations: 4.859 kB / 0.5507 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.005961, allocations: 8.062 kB / 0.5507 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.005988, allocations: 34.55 kB / 0.5507 GB, free: 6.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.005989, allocations: 0 / 0.5507 GB, free: 6.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001259/0.006115, allocations: 37.7 kB / 0.5507 GB, free: 6.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.006161, allocations: 55.41 kB / 0.5508 GB, free: 6.477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.006237, allocations: 101.7 kB / 0.5509 GB, free: 6.367 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.006257, allocations: 33.64 kB / 0.5509 GB, free: 6.328 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.006309, allocations: 84.12 kB / 0.551 GB, free: 6.242 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.006326, allocations: 4.922 kB / 0.551 GB, free: 6.238 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.006358, allocations: 13.97 kB / 0.551 GB, free: 6.219 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.006515, allocations: 318.8 kB / 0.5513 GB, free: 5.898 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.006526, allocations: 0 / 0.5513 GB, free: 5.898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.00654, allocations: 4 kB / 0.5513 GB, free: 5.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.006571, allocations: 8.859 kB / 0.5513 GB, free: 5.883 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006572, allocations: 0 / 0.5513 GB, free: 5.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.781e-05/0.00665, allocations: 45.64 kB / 0.5514 GB, free: 5.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.006661, allocations: 8 kB / 0.5514 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.006665, allocations: 0 / 0.5514 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.006676, allocations: 3.938 kB / 0.5514 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.006804, allocations: 20.02 kB / 0.5514 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004477/0.007252, allocations: 0.5821 MB / 0.552 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.00727, allocations: 0 / 0.552 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.007277, allocations: 4.031 kB / 0.552 GB, free: 5.191 MB / 462.1 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 8.276e-05/0.00736, allocations: 114.4 kB / 0.5521 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.00737, allocations: 3.938 kB / 0.5521 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.007484, allocations: 52.94 kB / 0.5521 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007485, allocations: 8.125 kB / 0.5522 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.007488, allocations: 0 / 0.5522 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.007493, allocations: 3.984 kB / 0.5522 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.999e-05/0.007583, allocations: 101.3 kB / 0.5523 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007584, allocations: 0 / 0.5523 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.007665, allocations: 8 kB / 0.5523 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007667, allocations: 0 / 0.5523 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.007674, allocations: 3.938 kB / 0.5523 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003995/0.008074, allocations: 0.5782 MB / 0.5528 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.008078, allocations: 3.984 kB / 0.5528 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.527e-05/0.008173, allocations: 77.09 kB / 0.5529 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.008179, allocations: 0 / 0.5529 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.008187, allocations: 0 / 0.5529 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.008204, allocations: 4 kB / 0.5529 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.008217, allocations: 3.984 kB / 0.5529 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.00822, allocations: 0 / 0.5529 GB, free: 4.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.527e-05/0.008275, allocations: 87.22 kB / 0.553 GB, free: 4.062 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008275, allocations: 0 / 0.553 GB, free: 4.062 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001914/0.008466, allocations: 4 kB / 0.553 GB, free: 4.059 MB / 462.1 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.000173/0.008639, allocations: 119.3 kB / 0.5531 GB, free: 3.934 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.00879, allocations: 15.98 kB / 0.5531 GB, free: 3.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.008792, allocations: 0 / 0.5531 GB, free: 3.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.494e-05/0.008887, allocations: 23.92 kB / 0.5532 GB, free: 3.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.009012, allocations: 5.969 kB / 0.5532 GB, free: 3.891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.009315, allocations: 92.98 kB / 0.5532 GB, free: 3.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.892e-05/0.009364, allocations: 63.47 kB / 0.5533 GB, free: 3.691 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.258e-05/0.009376, allocations: 3.938 kB / 0.5533 GB, free: 3.688 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.009392, allocations: 8.5 kB / 0.5533 GB, free: 3.68 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.009393, allocations: 0 / 0.5533 GB, free: 3.68 MB / 462.1 MB Notification: Performance of Templates: time 0.002773/0.01217, allocations: 491 kB / 0.5538 GB, free: 3.242 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.651678342372179] Failed to read output from testmodel.py, exit status != 0: 0.020824730396270752 0.038115391000000005 0.029935378000000002 Calling exit ...