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.001037/0.001037, allocations: 115.2 kB / 16.42 MB, free: 6.008 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.001057/0.001057, allocations: 187.2 kB / 17.35 MB, free: 5.625 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.288/1.288, allocations: 222.9 MB / 241.1 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.002104/0.002104, allocations: 303.4 kB / 291.5 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.9263/0.9263, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 91.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3665, allocations: 86.97 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001951/0.3685, allocations: 1.255 MB / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.3694, allocations: 0.5933 MB / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.3694, allocations: 0 / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.3694, allocations: 0 / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.3695, allocations: 0 / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.3699, allocations: 135.4 kB / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.37, allocations: 19.84 kB / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.37, allocations: 4 kB / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.3701, allocations: 4 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.3701, allocations: 8 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.3701, allocations: 0 / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.3706, allocations: 343.3 kB / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/0.3706, allocations: 0 / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.3707, allocations: 7.938 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3709, allocations: 139.4 kB / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3709, allocations: 0 / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3709, allocations: 0 / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3709, allocations: 0 / 0.7695 GB, free: 1.395 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.000334/0.3713, allocations: 358 kB / 0.7698 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3713, allocations: 8.031 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.3714, allocations: 0.9375 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.315e-05/0.3715, allocations: 176.2 kB / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.3715, allocations: 384 / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.3715, allocations: 384 / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.98e-05/0.3716, allocations: 30.27 kB / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3716, allocations: 4.172 kB / 0.77 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3716, allocations: 3.938 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3716, allocations: 4 kB / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.3716, allocations: 7.938 kB / 0.77 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.3718, allocations: 149.7 kB / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.727e-05/0.3718, allocations: 22.56 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.3718, allocations: 12.92 kB / 0.7702 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3719, allocations: 0 / 0.7702 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.3719, allocations: 34.56 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3719, allocations: 0 / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.372, allocations: 45.58 kB / 0.7703 GB, free: 396 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.372, allocations: 55.41 kB / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.3721, allocations: 93.84 kB / 0.7704 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.3721, allocations: 25.7 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.3722, allocations: 80.14 kB / 0.7705 GB, free: 108 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3722, allocations: 15.84 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.3722, allocations: 13.97 kB / 0.7706 GB, free: 72 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3723, allocations: 314.8 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.3724, allocations: 3.984 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-06/0.3724, allocations: 4 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.3724, allocations: 12.86 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3724, allocations: 0 / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.338e-05/0.3725, allocations: 41.64 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.3725, allocations: 12.03 kB / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3725, allocations: 0 / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3725, allocations: 7.938 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.3727, allocations: 15.98 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003256/0.373, allocations: 0.5782 MB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.373, allocations: 0 / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.373, allocations: 0 / 0.7715 GB, free: 15.05 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 6.633e-05/0.3731, allocations: 120.2 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.3731, allocations: 8.016 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.78e-05/0.3732, allocations: 40.83 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3732, allocations: 3.938 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3732, allocations: 0 / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.3733, allocations: 88.98 kB / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.3733, allocations: 0 / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.3733, allocations: 0 / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.3733, allocations: 11.97 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001626/0.3735, allocations: 133.8 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001262/0.3736, allocations: 218.9 kB / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.471e-05/0.3736, allocations: 0 / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.3737, allocations: 87.39 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Backend: time 2e-07/0.3737, allocations: 0 / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005418/0.3742, allocations: 150.2 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004078/0.3747, allocations: 0.5578 MB / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Templates: time 0.003063/0.3777, allocations: 1.106 MB / 0.774 GB, free: 12.46 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)