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.0006824/0.0006824, allocations: 80.48 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.0007731/0.0007731, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9089/0.9089, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.5198/0.5198, allocations: 110.2 MB / 370.2 MB, free: 12.64 MB / 346.7 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.323e-06/1.323e-06, allocations: 0 / 0.5485 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.285e-05, allocations: 4.953 kB / 0.5485 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001582/0.001605, allocations: 1.273 MB / 0.5497 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.002199, allocations: 0.5253 MB / 0.5503 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.002222, allocations: 0 / 0.5503 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.002239, allocations: 3.938 kB / 0.5503 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.002273, allocations: 3.938 kB / 0.5503 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.002649, allocations: 143.3 kB / 0.5504 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.446e-05/0.002693, allocations: 8 kB / 0.5504 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.002738, allocations: 11.92 kB / 0.5504 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.002766, allocations: 0 / 0.5504 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.002808, allocations: 11.92 kB / 0.5504 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.002822, allocations: 0 / 0.5504 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.003113, allocations: 271.4 kB / 0.5507 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.003126, allocations: 0 / 0.5507 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.003141, allocations: 0 / 0.5507 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.003337, allocations: 159.5 kB / 0.5508 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003338, allocations: 0 / 0.5508 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003339, allocations: 3.938 kB / 0.5508 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.003342, allocations: 0 / 0.5508 GB, free: 6.926 MB / 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.0002738/0.003616, allocations: 274 kB / 0.5511 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.003648, allocations: 12.03 kB / 0.5511 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.003672, allocations: 0.9375 kB / 0.5511 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.928e-05/0.003741, allocations: 101.8 kB / 0.5512 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.003751, allocations: 4.375 kB / 0.5512 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.003759, allocations: 384 / 0.5512 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.471e-05/0.003833, allocations: 42.25 kB / 0.5513 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.003841, allocations: 192 / 0.5513 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.003848, allocations: 384 / 0.5513 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.003852, allocations: 384 / 0.5513 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.003875, allocations: 11.92 kB / 0.5513 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.003983, allocations: 101.3 kB / 0.5514 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.004028, allocations: 26.56 kB / 0.5514 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.324e-05/0.004041, allocations: 4.859 kB / 0.5514 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.00406, allocations: 4.062 kB / 0.5514 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.004077, allocations: 30.56 kB / 0.5514 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.004078, allocations: 4 kB / 0.5514 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001098/0.004187, allocations: 45.59 kB / 0.5515 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.004216, allocations: 59.39 kB / 0.5515 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.556e-05/0.004261, allocations: 93.8 kB / 0.5516 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.00427, allocations: 29.7 kB / 0.5517 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.004292, allocations: 88.08 kB / 0.5517 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.004317, allocations: 3.953 kB / 0.5517 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.004338, allocations: 13.72 kB / 0.5518 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.004414, allocations: 318.8 kB / 0.5521 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.004423, allocations: 4.25 kB / 0.5521 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.004429, allocations: 4 kB / 0.5521 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.004461, allocations: 8.859 kB / 0.5521 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.004463, allocations: 0 / 0.5521 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.831e-05/0.004501, allocations: 41.64 kB / 0.5521 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.004511, allocations: 8 kB / 0.5521 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.004515, allocations: 0 / 0.5521 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.004525, allocations: 0 / 0.5521 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.00464, allocations: 15.98 kB / 0.5521 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000259/0.004899, allocations: 0.5861 MB / 0.5527 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.004909, allocations: 0 / 0.5527 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.004914, allocations: 4.031 kB / 0.5527 GB, free: 4.812 MB / 0.5105 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 4.9e-05/0.004963, allocations: 109.8 kB / 0.5528 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-06/0.004968, allocations: 3.938 kB / 0.5528 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.005042, allocations: 52.89 kB / 0.5529 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.005044, allocations: 4 kB / 0.5529 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.005048, allocations: 0 / 0.5529 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005051, allocations: 8.109 kB / 0.5529 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.663e-05/0.005097, allocations: 97.27 kB / 0.553 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.005098, allocations: 4 kB / 0.553 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.005135, allocations: 7.984 kB / 0.553 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005136, allocations: 4 kB / 0.553 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.005143, allocations: 3.938 kB / 0.553 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002245/0.005367, allocations: 0.5859 MB / 0.5536 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005368, allocations: 0 / 0.5536 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.076e-05/0.005409, allocations: 69.09 kB / 0.5536 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.005413, allocations: 4.125 kB / 0.5536 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-06/0.005421, allocations: 0 / 0.5536 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-06/0.005427, allocations: 0 / 0.5536 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.005438, allocations: 4 kB / 0.5536 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.005439, allocations: 0 / 0.5536 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.046e-05/0.00546, allocations: 79.28 kB / 0.5537 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.00546, allocations: 3.938 kB / 0.5537 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001193/0.005579, allocations: 8 kB / 0.5537 GB, free: 3.684 MB / 0.5105 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.0001105/0.00569, allocations: 119.2 kB / 0.5538 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.937e-05/0.005789, allocations: 19.92 kB / 0.5539 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00579, allocations: 0 / 0.5539 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.005822, allocations: 15.98 kB / 0.5539 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.628e-05/0.005918, allocations: 9.766 kB / 0.5539 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.006158, allocations: 126.6 kB / 0.554 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.871e-05/0.006186, allocations: 55.36 kB / 0.5541 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.006199, allocations: 16.61 kB / 0.5541 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of SimCode: time 3.1e-07/0.006199, allocations: 0 / 0.5541 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of Templates: time 0.001435/0.007635, allocations: 0.7222 MB / 0.5548 GB, free: 2.547 MB / 0.5105 GB " [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: 4.781508356332779] Failed to read output from testmodel.py, exit status != 0: 0.011923261918127537 0.018900062000000002 0.01412766 Calling exit ...