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.001459/0.001459, allocations: 108.2 kB / 15.99 MB, free: 6.352 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.001663/0.001664, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.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.8901/0.8901, allocations: 143.3 MB / 434 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 0.5146 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3426, allocations: 82.03 MB / 0.5947 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002085/0.3447, allocations: 1.309 MB / 0.596 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.3455, allocations: 0.5869 MB / 0.5965 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.3455, allocations: 0 / 0.5965 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.3455, allocations: 1.062 kB / 0.5966 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.3456, allocations: 0 / 0.5966 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.346, allocations: 128.5 kB / 0.5967 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.041e-05/0.3461, allocations: 9.625 kB / 0.5967 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.3461, allocations: 7.938 kB / 0.5967 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.3462, allocations: 4 kB / 0.5967 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.3462, allocations: 8 kB / 0.5967 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.3462, allocations: 1.125 kB / 0.5967 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.3466, allocations: 339.3 kB / 0.597 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.3466, allocations: 7.984 kB / 0.597 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.3466, allocations: 8.969 kB / 0.597 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3467, allocations: 93.8 kB / 0.5971 GB, free: 13.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3468, allocations: 0 / 0.5971 GB, free: 13.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3468, allocations: 0.6875 kB / 0.5971 GB, free: 13.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3468, allocations: 4 kB / 0.5971 GB, free: 13.71 MB / 446.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.0003165/0.3471, allocations: 348.9 kB / 0.5975 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3471, allocations: 8.031 kB / 0.5975 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.3472, allocations: 10.45 kB / 0.5975 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.811e-05/0.3473, allocations: 168.3 kB / 0.5976 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3473, allocations: 8.312 kB / 0.5977 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.3473, allocations: 384 / 0.5977 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.3474, allocations: 35.45 kB / 0.5977 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3474, allocations: 192 / 0.5977 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3474, allocations: 5.875 kB / 0.5977 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3474, allocations: 3.938 kB / 0.5977 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.3475, allocations: 4 kB / 0.5977 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.3476, allocations: 149.7 kB / 0.5978 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.354e-05/0.3476, allocations: 29.7 kB / 0.5979 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.3477, allocations: 4.859 kB / 0.5979 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3477, allocations: 4.062 kB / 0.5979 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3477, allocations: 34.56 kB / 0.5979 GB, free: 12.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3477, allocations: 0 / 0.5979 GB, free: 12.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001271/0.3478, allocations: 42.38 kB / 0.598 GB, free: 12.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.3479, allocations: 52.84 kB / 0.598 GB, free: 12.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.3479, allocations: 97.86 kB / 0.5981 GB, free: 12.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.3479, allocations: 26.61 kB / 0.5981 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.205e-05/0.348, allocations: 80.14 kB / 0.5982 GB, free: 12.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.348, allocations: 17.14 kB / 0.5982 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.348, allocations: 13.66 kB / 0.5982 GB, free: 12.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.3481, allocations: 316.3 kB / 0.5985 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.3481, allocations: 4 kB / 0.5985 GB, free: 12.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.3481, allocations: 0 / 0.5985 GB, free: 12.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.3481, allocations: 17.42 kB / 0.5986 GB, free: 12.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3481, allocations: 1.625 kB / 0.5986 GB, free: 12.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.779e-05/0.3482, allocations: 41.62 kB / 0.5986 GB, free: 12.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3482, allocations: 4 kB / 0.5986 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3482, allocations: 3.938 kB / 0.5986 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3482, allocations: 1.344 kB / 0.5986 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3484, allocations: 11.98 kB / 0.5986 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002334/0.3486, allocations: 0.5841 MB / 0.5992 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.3487, allocations: 4.031 kB / 0.5992 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3487, allocations: 0 / 0.5992 GB, free: 11.38 MB / 446.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 5.233e-05/0.3487, allocations: 115.3 kB / 0.5993 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.3488, allocations: 0 / 0.5993 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.359e-05/0.3488, allocations: 49.5 kB / 0.5993 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3489, allocations: 5.5 kB / 0.5994 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3489, allocations: 0 / 0.5994 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3489, allocations: 0 / 0.5994 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.174e-05/0.3489, allocations: 157.5 kB / 0.5995 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3489, allocations: 1 kB / 0.5995 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.349, allocations: 11.94 kB / 0.5995 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.349, allocations: 0 / 0.5995 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.349, allocations: 5.203 kB / 0.5995 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001679/0.3492, allocations: 0.5857 MB / 0.6001 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3492, allocations: 7.938 kB / 0.6001 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.947e-05/0.3493, allocations: 61.11 kB / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.3493, allocations: 85.09 kB / 0.6002 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.3493, allocations: 0 / 0.6002 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.3493, allocations: 1.438 kB / 0.6002 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.3494, allocations: 3.938 kB / 0.6002 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.3494, allocations: 0 / 0.6002 GB, free: 10.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.742e-05/0.3494, allocations: 80.12 kB / 0.6003 GB, free: 10.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3494, allocations: 0 / 0.6003 GB, free: 10.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.3496, allocations: 9.344 kB / 0.6003 GB, free: 10.11 MB / 446.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.0001441/0.3497, allocations: 112.6 kB / 0.6004 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.3499, allocations: 19.98 kB / 0.6005 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3499, allocations: 1.438 kB / 0.6005 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.656e-05/0.35, allocations: 19.95 kB / 0.6005 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.3502, allocations: 0 / 0.6005 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.3505, allocations: 145.1 kB / 0.6006 GB, free: 9.773 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.332e-05/0.3506, allocations: 0.6779 MB / 0.6013 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.3506, allocations: 7.438 kB / 0.6013 GB, free: 9.066 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3506, allocations: 0 / 0.6013 GB, free: 9.066 MB / 446.1 MB Notification: Performance of Templates: time 0.002132/0.3528, allocations: 0.7048 MB / 0.602 GB, free: 8.391 MB / 446.1 MB 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)