Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007018/0.007018, allocations: 97.16 kB / 15.73 MB, free: 6.055 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.001647/0.001647, allocations: 191.6 kB / 16.67 MB, free: 5.969 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 286.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9077/0.9077, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 99.83 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4275, allocations: 86.98 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00205/0.4296, allocations: 1.225 MB / 0.7676 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.4305, allocations: 0.5934 MB / 0.7682 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.4305, allocations: 0 / 0.7682 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.4306, allocations: 3.938 kB / 0.7682 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.4306, allocations: 7.938 kB / 0.7682 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.4311, allocations: 138.3 kB / 0.7683 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.4311, allocations: 15.94 kB / 0.7683 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.4312, allocations: 3.984 kB / 0.7683 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.4312, allocations: 4 kB / 0.7683 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.958e-05/0.4313, allocations: 3.984 kB / 0.7683 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.4313, allocations: 0 / 0.7683 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.4318, allocations: 343.3 kB / 0.7687 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.4318, allocations: 7.984 kB / 0.7687 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.4318, allocations: 3.938 kB / 0.7687 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.4321, allocations: 145.3 kB / 0.7688 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4321, allocations: 0 / 0.7688 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4321, allocations: 0 / 0.7688 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4321, allocations: 3.938 kB / 0.7688 GB, free: 1.426 MB / 0.5294 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.0003377/0.4324, allocations: 351.2 kB / 0.7691 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4325, allocations: 12.03 kB / 0.7692 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.4325, allocations: 0.9375 kB / 0.7692 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.4326, allocations: 168.3 kB / 0.7693 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4326, allocations: 4.359 kB / 0.7693 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.4326, allocations: 4.375 kB / 0.7693 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.893e-05/0.4327, allocations: 30.2 kB / 0.7694 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.4327, allocations: 4.188 kB / 0.7694 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4328, allocations: 3.938 kB / 0.7694 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4328, allocations: 4 kB / 0.7694 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.4328, allocations: 4 kB / 0.7694 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.4329, allocations: 149.7 kB / 0.7695 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.433, allocations: 30.61 kB / 0.7695 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.433, allocations: 4.859 kB / 0.7696 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.433, allocations: 3.938 kB / 0.7696 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4331, allocations: 34.62 kB / 0.7696 GB, free: 480 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.4331, allocations: 0 / 0.7696 GB, free: 480 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001253/0.4332, allocations: 49.61 kB / 0.7696 GB, free: 424 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.4332, allocations: 55.53 kB / 0.7697 GB, free: 356 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.4333, allocations: 93.86 kB / 0.7698 GB, free: 252 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.4333, allocations: 29.7 kB / 0.7698 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.4334, allocations: 80.14 kB / 0.7699 GB, free: 132 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.4334, allocations: 7.938 kB / 0.7699 GB, free: 124 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.4334, allocations: 13.72 kB / 0.7699 GB, free: 104 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4335, allocations: 314.8 kB / 0.7702 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.4336, allocations: 4.125 kB / 0.7702 GB, free: 15.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-06/0.4336, allocations: 7.938 kB / 0.7702 GB, free: 15.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.4336, allocations: 12.8 kB / 0.7702 GB, free: 15.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4336, allocations: 4 kB / 0.7702 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.899e-05/0.4337, allocations: 45.62 kB / 0.7703 GB, free: 15.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4337, allocations: 4 kB / 0.7703 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4337, allocations: 3.938 kB / 0.7703 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.4337, allocations: 0 / 0.7703 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4339, allocations: 8 kB / 0.7703 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003552/0.4343, allocations: 0.5938 MB / 0.7709 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.4343, allocations: 0 / 0.7709 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.4343, allocations: 4.031 kB / 0.7709 GB, free: 15.07 MB / 0.545 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 7.315e-05/0.4344, allocations: 116.2 kB / 0.771 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.4344, allocations: 0 / 0.771 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.4345, allocations: 48.91 kB / 0.771 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4345, allocations: 0 / 0.771 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4345, allocations: 4 kB / 0.771 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4345, allocations: 0 / 0.771 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.976e-05/0.4346, allocations: 153.5 kB / 0.7712 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4346, allocations: 0 / 0.7712 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.4347, allocations: 8 kB / 0.7712 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4347, allocations: 4 kB / 0.7712 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.4347, allocations: 0 / 0.7712 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003205/0.4351, allocations: 0.586 MB / 0.7718 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4351, allocations: 3.938 kB / 0.7718 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.118e-05/0.4351, allocations: 69.06 kB / 0.7718 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.4352, allocations: 77.11 kB / 0.7719 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.4352, allocations: 7.984 kB / 0.7719 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.553e-05/0.4352, allocations: 4.125 kB / 0.7719 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.4353, allocations: 7.938 kB / 0.7719 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.4353, allocations: 0 / 0.7719 GB, free: 13.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.4353, allocations: 79.28 kB / 0.772 GB, free: 13.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4353, allocations: 0 / 0.772 GB, free: 13.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001866/0.4355, allocations: 11.94 kB / 0.772 GB, free: 13.78 MB / 0.545 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.0001809/0.4357, allocations: 115.2 kB / 0.7721 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.4359, allocations: 24.08 kB / 0.7721 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4359, allocations: 0 / 0.7721 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.275e-05/0.436, allocations: 19.86 kB / 0.7722 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.4361, allocations: 10.98 kB / 0.7722 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.4364, allocations: 94.16 kB / 0.7723 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4367, allocations: 0.6766 MB / 0.7729 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.313e-05/0.4367, allocations: 4.125 kB / 0.7729 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.239e-05/0.4367, allocations: 7.438 kB / 0.7729 GB, free: 12.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4367, allocations: 0 / 0.7729 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Templates: time 0.002401/0.4391, allocations: 461 kB / 0.7734 GB, free: 12.35 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)