Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009147/0.009147, allocations: 172.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9927/0.9927, allocations: 143.4 MB / 434.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 11.98 kB / 0.5166 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1889, allocations: 83.42 MB / 0.5981 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001463/0.1904, allocations: 0.9666 MB / 0.599 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1915, allocations: 0.5996 MB / 0.5996 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.1916, allocations: 0 / 0.5996 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1916, allocations: 0 / 0.5996 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.753e-05/0.1916, allocations: 4 kB / 0.5996 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.1922, allocations: 119.6 kB / 0.5997 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.571e-05/0.1923, allocations: 15.86 kB / 0.5998 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.1923, allocations: 4 kB / 0.5998 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.1923, allocations: 0 / 0.5998 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.1924, allocations: 4 kB / 0.5998 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1924, allocations: 0 / 0.5998 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005469/0.193, allocations: 347.3 kB / 0.6001 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.193, allocations: 4 kB / 0.6001 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.193, allocations: 37.64 kB / 0.6001 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1933, allocations: 131.9 kB / 0.6003 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1933, allocations: 4 kB / 0.6003 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1933, allocations: 0 / 0.6003 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1934, allocations: 0 / 0.6003 GB, free: 5.203 MB / 0.4981 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.0004013/0.1938, allocations: 351.4 kB / 0.6006 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1938, allocations: 12.03 kB / 0.6006 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.1938, allocations: 0.9375 kB / 0.6006 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.194, allocations: 168.3 kB / 0.6008 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.194, allocations: 4.359 kB / 0.6008 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.194, allocations: 384 / 0.6008 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.1941, allocations: 34.25 kB / 0.6008 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1941, allocations: 192 / 0.6008 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1941, allocations: 7.938 kB / 0.6008 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1942, allocations: 4 kB / 0.6008 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.1942, allocations: 3.938 kB / 0.6008 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.1944, allocations: 149.7 kB / 0.601 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.013e-05/0.1944, allocations: 26.61 kB / 0.601 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.1945, allocations: 8.922 kB / 0.601 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1945, allocations: 0 / 0.601 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1945, allocations: 30.56 kB / 0.601 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.1945, allocations: 0 / 0.601 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001477/0.1947, allocations: 53.56 kB / 0.6011 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.1947, allocations: 55.53 kB / 0.6011 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.1948, allocations: 97.86 kB / 0.6012 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1948, allocations: 25.7 kB / 0.6013 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.1948, allocations: 80.14 kB / 0.6013 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.1949, allocations: 3.906 kB / 0.6013 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.1949, allocations: 13.7 kB / 0.6014 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.195, allocations: 314.8 kB / 0.6017 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.195, allocations: 4 kB / 0.6017 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.1951, allocations: 8.125 kB / 0.6017 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.1951, allocations: 8.859 kB / 0.6017 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-06/0.1951, allocations: 3.938 kB / 0.6017 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.076e-05/0.1952, allocations: 41.69 kB / 0.6017 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1952, allocations: 7.938 kB / 0.6017 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1952, allocations: 3.938 kB / 0.6017 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1952, allocations: 4 kB / 0.6017 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1954, allocations: 4 kB / 0.6017 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003813/0.1958, allocations: 0.59 MB / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.1958, allocations: 0 / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1958, allocations: 3.938 kB / 0.6023 GB, free: 2.859 MB / 0.4981 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 8.525e-05/0.1959, allocations: 109.8 kB / 0.6024 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.1959, allocations: 7.969 kB / 0.6024 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1961, allocations: 48.91 kB / 0.6025 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1961, allocations: 0 / 0.6025 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1961, allocations: 0 / 0.6025 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1961, allocations: 0 / 0.6025 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1962, allocations: 161.6 kB / 0.6026 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1962, allocations: 0 / 0.6026 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.1963, allocations: 8 kB / 0.6026 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1963, allocations: 0 / 0.6026 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1963, allocations: 0 / 0.6026 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003233/0.1966, allocations: 0.5898 MB / 0.6032 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.1967, allocations: 7.922 kB / 0.6032 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.12e-05/0.1967, allocations: 61.17 kB / 0.6033 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.1968, allocations: 77.11 kB / 0.6033 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1968, allocations: 0 / 0.6033 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.1968, allocations: 12.11 kB / 0.6034 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.1968, allocations: 7.938 kB / 0.6034 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1968, allocations: 0 / 0.6034 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.363e-05/0.1969, allocations: 75.28 kB / 0.6034 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1969, allocations: 3.938 kB / 0.6034 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002016/0.1971, allocations: 12 kB / 0.6035 GB, free: 1.566 MB / 0.4981 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.0001832/0.1973, allocations: 115.2 kB / 0.6036 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1975, allocations: 24.08 kB / 0.6036 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1975, allocations: 0 / 0.6036 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.1976, allocations: 15.98 kB / 0.6036 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.1977, allocations: 3.938 kB / 0.6036 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.1981, allocations: 111.1 kB / 0.6037 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1983, allocations: 0.6772 MB / 0.6044 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.1984, allocations: 0 / 0.6044 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.1984, allocations: 11.44 kB / 0.6044 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1984, allocations: 0 / 0.6044 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of Templates: time 0.002681/0.2011, allocations: 435.6 kB / 0.6048 GB, free: 156 kB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)