Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 104.8 kB / 15.98 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.001402/0.001402, allocations: 191.1 kB / 16.91 MB, free: 6.195 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.285/1.285, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7009/0.7009, allocations: 115.3 MB / 406.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3139, allocations: 76.18 MB / 0.556 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00215/0.3161, allocations: 1.32 MB / 0.5573 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007659/0.3169, allocations: 0.6029 MB / 0.5579 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.3169, allocations: 1.688 kB / 0.5579 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.317, allocations: 3.422 kB / 0.5579 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.922e-05/0.317, allocations: 3.938 kB / 0.5579 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.3175, allocations: 132.1 kB / 0.558 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.47e-05/0.3175, allocations: 24.52 kB / 0.5581 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.3176, allocations: 1.156 kB / 0.5581 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.3176, allocations: 6.859 kB / 0.5581 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.3176, allocations: 13.3 kB / 0.5581 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.3177, allocations: 1.156 kB / 0.5581 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.3181, allocations: 346.6 kB / 0.5584 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.3181, allocations: 1.609 kB / 0.5584 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.3181, allocations: 9.984 kB / 0.5584 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.3183, allocations: 151.6 kB / 0.5586 GB, free: 34.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3184, allocations: 0.6094 kB / 0.5586 GB, free: 34.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3184, allocations: 1.156 kB / 0.5586 GB, free: 34.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3184, allocations: 0.6875 kB / 0.5586 GB, free: 34.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003187/0.3187, allocations: 358.3 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3187, allocations: 9.531 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.285e-05/0.3188, allocations: 32.84 kB / 0.559 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.3188, allocations: 8.281 kB / 0.559 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.376e-05/0.3189, allocations: 167.8 kB / 0.5591 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.3189, allocations: 5.109 kB / 0.5591 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3189, allocations: 4.109 kB / 0.5591 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.319, allocations: 39.61 kB / 0.5592 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.319, allocations: 4.688 kB / 0.5592 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.319, allocations: 6.094 kB / 0.5592 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.319, allocations: 1.062 kB / 0.5592 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.3191, allocations: 11.84 kB / 0.5592 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.3192, allocations: 160.1 kB / 0.5593 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.3194, allocations: 43.25 kB / 0.5594 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.3194, allocations: 20.03 kB / 0.5594 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3194, allocations: 0.8125 kB / 0.5594 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.3194, allocations: 41.42 kB / 0.5594 GB, free: 33.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3194, allocations: 0.75 kB / 0.5594 GB, free: 33.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004933/0.3199, allocations: 318 kB / 0.5597 GB, free: 33.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.32, allocations: 52.72 kB / 0.5598 GB, free: 33.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.971e-05/0.32, allocations: 98.55 kB / 0.5599 GB, free: 33.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.32, allocations: 31.05 kB / 0.5599 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.443e-05/0.32, allocations: 84.88 kB / 0.56 GB, free: 33.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3201, allocations: 24.45 kB / 0.56 GB, free: 33.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3201, allocations: 20.8 kB / 0.56 GB, free: 33.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.3202, allocations: 316.4 kB / 0.5603 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.3202, allocations: 11.98 kB / 0.5604 GB, free: 32.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.3202, allocations: 9.625 kB / 0.5604 GB, free: 32.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.3203, allocations: 34.09 kB / 0.5604 GB, free: 32.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3203, allocations: 0 / 0.5604 GB, free: 32.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.391e-05/0.3204, allocations: 71.67 kB / 0.5605 GB, free: 32.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.3204, allocations: 5.75 kB / 0.5605 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3204, allocations: 0.6562 kB / 0.5605 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3204, allocations: 2.5 kB / 0.5605 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.3204, allocations: 10.56 kB / 0.5605 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3205, allocations: 3.703 kB / 0.5605 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.3205, allocations: 4 kB / 0.5605 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.3205, allocations: 1.406 kB / 0.5605 GB, free: 32.86 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 (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 4.308e-05/0.3205, allocations: 110.5 kB / 0.5606 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.3206, allocations: 10.3 kB / 0.5606 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.3207, allocations: 74.83 kB / 0.5607 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3207, allocations: 0 / 0.5607 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3207, allocations: 4.062 kB / 0.5607 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3207, allocations: 0.6875 kB / 0.5607 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.3209, allocations: 318 kB / 0.561 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3209, allocations: 1.375 kB / 0.561 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.321, allocations: 12.36 kB / 0.561 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.321, allocations: 6 kB / 0.561 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.321, allocations: 1.766 kB / 0.561 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.321, allocations: 1.344 kB / 0.561 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.321, allocations: 1.312 kB / 0.561 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3212, allocations: 189.7 kB / 0.5612 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.3212, allocations: 84.84 kB / 0.5613 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3212, allocations: 3.875 kB / 0.5613 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.3213, allocations: 1.938 kB / 0.5613 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.3213, allocations: 7.812 kB / 0.5613 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3213, allocations: 1.312 kB / 0.5613 GB, free: 32.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.875e-05/0.3214, allocations: 83.66 kB / 0.5614 GB, free: 32.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3214, allocations: 3.938 kB / 0.5614 GB, free: 32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3216, allocations: 19.42 kB / 0.5614 GB, free: 32 MB / 446.1 MB 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.0003154/0.3219, allocations: 0.7361 MB / 0.5621 GB, free: 31.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.309e-05/0.322, allocations: 37.05 kB / 0.5621 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3221, allocations: 0 / 0.5621 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.3221, allocations: 18.05 kB / 0.5622 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.3223, allocations: 7.859 kB / 0.5622 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008563/0.3232, allocations: 1.324 MB / 0.5635 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3233, allocations: 0.6796 MB / 0.5641 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.045e-05/0.3233, allocations: 5.266 kB / 0.5641 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.3233, allocations: 15.66 kB / 0.5641 GB, free: 29.34 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3234, allocations: 0 / 0.5641 GB, free: 29.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.3348, allocations: 1.493 MB / 0.5656 GB, free: 29.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/0.3349, allocations: 245.4 kB / 0.5658 GB, free: 28.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.972, allocations: 0 / 0.5658 GB, free: 28.9 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)