Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001293/0.001293, allocations: 187 kB / 17.34 MB, free: 5.73 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 291.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8963/0.8963, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 95.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4202, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002336/0.4225, allocations: 1.264 MB / 0.7683 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.4236, allocations: 0.6167 MB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.4236, allocations: 0 / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.4236, allocations: 0 / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.4237, allocations: 7.922 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.4244, allocations: 153.4 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.518e-05/0.4244, allocations: 15.88 kB / 0.7691 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.4245, allocations: 4 kB / 0.7691 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.4245, allocations: 19.97 kB / 0.7691 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.4246, allocations: 3.938 kB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.4246, allocations: 4 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.4251, allocations: 339.3 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.4251, allocations: 3.984 kB / 0.7694 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.4252, allocations: 15.92 kB / 0.7694 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.4255, allocations: 145.9 kB / 0.7696 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4255, allocations: 0 / 0.7696 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4255, allocations: 0 / 0.7696 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.4255, allocations: 0 / 0.7696 GB, free: 1.344 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004287/0.4259, allocations: 370.1 kB / 0.7699 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.426, allocations: 8.031 kB / 0.7699 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.426, allocations: 4.938 kB / 0.7699 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4261, allocations: 160.4 kB / 0.7701 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4262, allocations: 384 / 0.7701 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.4262, allocations: 4.375 kB / 0.7701 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.4263, allocations: 38.25 kB / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4263, allocations: 192 / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4263, allocations: 7.875 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4263, allocations: 8 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.116e-05/0.4264, allocations: 11.98 kB / 0.7701 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.4265, allocations: 157.7 kB / 0.7703 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4267, allocations: 42.56 kB / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.4268, allocations: 16.86 kB / 0.7704 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.4268, allocations: 0 / 0.7704 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.4268, allocations: 38.5 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4268, allocations: 3.938 kB / 0.7704 GB, free: 336 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.000641/0.4275, allocations: 326.6 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4275, allocations: 51.41 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.4276, allocations: 93.86 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4276, allocations: 29.7 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.4277, allocations: 80.14 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.4277, allocations: 23.73 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.4277, allocations: 17.72 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4278, allocations: 314.8 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.4279, allocations: 15.98 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.4279, allocations: 8 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/0.428, allocations: 28.86 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.428, allocations: 4 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.932e-05/0.4281, allocations: 69.52 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4281, allocations: 15.94 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4281, allocations: 0 / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4281, allocations: 0 / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.73e-05/0.4282, allocations: 15.98 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4282, allocations: 0 / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.4282, allocations: 4 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4282, allocations: 0 / 0.7714 GB, free: 15.14 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.4283, allocations: 116.2 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.4283, allocations: 3.938 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.4285, allocations: 77.58 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4285, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4285, allocations: 4 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4285, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.4288, allocations: 315.5 kB / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4288, allocations: 3.938 kB / 0.7719 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.4289, allocations: 11.98 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4289, allocations: 4 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.4289, allocations: 0 / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4289, allocations: 4.031 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4289, allocations: 240 / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.4291, allocations: 184.2 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.4292, allocations: 85.09 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.4292, allocations: 7.859 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.4293, allocations: 0 / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.4293, allocations: 12.05 kB / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4293, allocations: 0 / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.4294, allocations: 83.28 kB / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4294, allocations: 0 / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002424/0.4296, allocations: 20 kB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000181/0.4298, allocations: 119.2 kB / 0.7725 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.4299, allocations: 39.91 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4299, allocations: 0 / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.43, allocations: 23.98 kB / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.4302, allocations: 11.94 kB / 0.7725 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.4306, allocations: 234.5 kB / 0.7727 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.4309, allocations: 0.6768 MB / 0.7734 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.4309, allocations: 11.44 kB / 0.7734 GB, free: 12.94 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4309, allocations: 0 / 0.7734 GB, free: 12.94 MB / 0.545 GB Notification: Performance of Templates: time 0.002287/0.4332, allocations: 0.8088 MB / 0.7742 GB, free: 12.14 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)