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.001464/0.001464, allocations: 109 kB / 16.41 MB, free: 6.512 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.001658/0.001658, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.343/1.343, 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.002093/0.002093, allocations: 288 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.9197/0.9197, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3535, allocations: 86.99 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002113/0.3556, allocations: 1.257 MB / 0.7683 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.3566, allocations: 0.6167 MB / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.3566, allocations: 3.938 kB / 0.7689 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.3566, allocations: 8 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.3567, allocations: 7.922 kB / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.3572, allocations: 142.1 kB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.638e-05/0.3573, allocations: 19.92 kB / 0.7691 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.3573, allocations: 4 kB / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.3574, allocations: 7.984 kB / 0.7691 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.3574, allocations: 15.92 kB / 0.7691 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.3574, allocations: 0 / 0.7691 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.3579, allocations: 343.3 kB / 0.7694 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.358, allocations: 7.984 kB / 0.7694 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.358, allocations: 7.938 kB / 0.7694 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3583, allocations: 145.9 kB / 0.7696 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3583, allocations: 0 / 0.7696 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3583, allocations: 0 / 0.7696 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.3583, allocations: 0 / 0.7696 GB, free: 1.375 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.0003727/0.3587, allocations: 359.4 kB / 0.7699 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3587, allocations: 8.031 kB / 0.7699 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.3587, allocations: 8.922 kB / 0.7699 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3588, allocations: 168.4 kB / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3589, allocations: 384 / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3589, allocations: 4.375 kB / 0.7701 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.53e-05/0.359, allocations: 38.25 kB / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.359, allocations: 192 / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.359, allocations: 11.94 kB / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.359, allocations: 0 / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.76e-05/0.3591, allocations: 7.938 kB / 0.7702 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.3592, allocations: 161.7 kB / 0.7703 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.3594, allocations: 46.59 kB / 0.7704 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.3594, allocations: 24.88 kB / 0.7704 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3595, allocations: 0 / 0.7704 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.3595, allocations: 34.56 kB / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3595, allocations: 0 / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005843/0.3601, allocations: 322.1 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.3601, allocations: 55.39 kB / 0.7708 GB, free: 15.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.3602, allocations: 97.86 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3602, allocations: 25.7 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.3602, allocations: 80.14 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.3603, allocations: 23.73 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.3603, allocations: 17.72 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3604, allocations: 310.8 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/0.3605, allocations: 19.98 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.3605, allocations: 12 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.425e-05/0.3605, allocations: 28.86 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3606, allocations: 0 / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.3607, allocations: 73.44 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3607, allocations: 11.94 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3607, allocations: 0 / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3607, allocations: 0 / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.3608, allocations: 11.98 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3608, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.3608, allocations: 8 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.3608, allocations: 0 / 0.7715 GB, free: 15.17 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.15e-05/0.3609, allocations: 113.8 kB / 0.7716 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.3609, allocations: 3.938 kB / 0.7716 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.361, allocations: 73.58 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3611, allocations: 3.938 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3611, allocations: 4 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.3611, allocations: 85.02 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3611, allocations: 3.984 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.3612, allocations: 8 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.3612, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001495/0.3614, allocations: 141.1 kB / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000199/0.3616, allocations: 254.8 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.386e-05/0.3616, allocations: 16.02 kB / 0.7721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.3617, allocations: 83.8 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Backend: time 2.81e-07/0.3617, allocations: 4 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.3622, allocations: 158.8 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004866/0.3627, allocations: 0.6293 MB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Templates: time 0.003386/0.3661, allocations: 1.264 MB / 0.7742 GB, free: 12.27 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)