Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.001021/0.001021, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00106/0.00106, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9557/0.9557, allocations: 143 MB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.88 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 82.04 MB / 0.5939 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002454/0.146, allocations: 1.333 MB / 0.5952 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.147, allocations: 0.6228 MB / 0.5958 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.1471, allocations: 0 / 0.5958 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.1471, allocations: 4 kB / 0.5958 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.1472, allocations: 0 / 0.5958 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.1478, allocations: 139.5 kB / 0.596 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.1478, allocations: 23.92 kB / 0.596 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.1479, allocations: 4 kB / 0.596 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.579e-05/0.1479, allocations: 7.938 kB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.148, allocations: 15.97 kB / 0.596 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.148, allocations: 4 kB / 0.596 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.1485, allocations: 343.3 kB / 0.5963 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.1485, allocations: 19.97 kB / 0.5964 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.1485, allocations: 7.938 kB / 0.5964 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1488, allocations: 155.9 kB / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1488, allocations: 0 / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1488, allocations: 0 / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.1488, allocations: 0 / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004261/0.1493, allocations: 367.3 kB / 0.5969 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1493, allocations: 8.625 kB / 0.5969 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.1494, allocations: 38.75 kB / 0.5969 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.1494, allocations: 4.938 kB / 0.5969 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1495, allocations: 172.3 kB / 0.5971 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1496, allocations: 384 / 0.5971 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1496, allocations: 12.36 kB / 0.5971 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1497, allocations: 46.25 kB / 0.5971 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1497, allocations: 7.875 kB / 0.5971 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1498, allocations: 7.938 kB / 0.5972 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1498, allocations: 0 / 0.5972 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.1498, allocations: 19.98 kB / 0.5972 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.15, allocations: 169.6 kB / 0.5973 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1501, allocations: 58.55 kB / 0.5974 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.1502, allocations: 28.84 kB / 0.5974 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1502, allocations: 4 kB / 0.5974 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1502, allocations: 38.5 kB / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1502, allocations: 3.938 kB / 0.5975 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.00113/0.1514, allocations: 0.5839 MB / 0.598 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1514, allocations: 51.41 kB / 0.5981 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.1515, allocations: 101.8 kB / 0.5982 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1515, allocations: 25.7 kB / 0.5982 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.1515, allocations: 88.27 kB / 0.5983 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1516, allocations: 43.39 kB / 0.5983 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.1516, allocations: 29.66 kB / 0.5984 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.1517, allocations: 314.8 kB / 0.5987 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.1518, allocations: 20 kB / 0.5987 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.1518, allocations: 22.11 kB / 0.5987 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.491e-05/0.1519, allocations: 56.84 kB / 0.5988 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1519, allocations: 4 kB / 0.5988 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001373/0.1521, allocations: 111.8 kB / 0.5989 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1521, allocations: 6.031 kB / 0.5989 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1521, allocations: 0 / 0.5989 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1521, allocations: 4 kB / 0.5989 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1522, allocations: 19.98 kB / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1522, allocations: 0 / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.1523, allocations: 0 / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1523, allocations: 4 kB / 0.5989 GB, free: 4.355 MB / 0.4981 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 (13): * Single equations (assignments): 13 * 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.49e-05/0.1523, allocations: 117.8 kB / 0.599 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1524, allocations: 7.938 kB / 0.599 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.1526, allocations: 113.6 kB / 0.5991 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1526, allocations: 0 / 0.5991 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1526, allocations: 0 / 0.5991 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1526, allocations: 0 / 0.5991 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.153, allocations: 358.4 kB / 0.5995 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.153, allocations: 0 / 0.5995 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1531, allocations: 19.98 kB / 0.5995 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1531, allocations: 4 kB / 0.5995 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1531, allocations: 8 kB / 0.5995 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1532, allocations: 0 / 0.5995 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1532, allocations: 0 / 0.5995 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1534, allocations: 223.3 kB / 0.5997 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.1535, allocations: 81.02 kB / 0.5998 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.1535, allocations: 8.016 kB / 0.5998 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.1536, allocations: 4 kB / 0.5998 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.1536, allocations: 4.062 kB / 0.5998 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1536, allocations: 11.98 kB / 0.5998 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.1537, allocations: 75.28 kB / 0.5999 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1537, allocations: 0 / 0.5999 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002841/0.154, allocations: 36 kB / 0.5999 GB, free: 3.195 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0005828/0.1545, allocations: 0.7866 MB / 0.6007 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1547, allocations: 64.45 kB / 0.6007 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1547, allocations: 0 / 0.6007 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.1548, allocations: 43.86 kB / 0.6008 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.155, allocations: 5.016 kB / 0.6008 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1564, allocations: 1.514 MB / 0.6023 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2207/0.3771, allocations: 0.6929 MB / 0.603 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.178e-05/0.3772, allocations: 8.109 kB / 0.603 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.3773, allocations: 16.16 kB / 0.603 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of SimCode: time 1.163e-06/0.3773, allocations: 0 / 0.603 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.3898, allocations: 1.967 MB / 0.6049 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.39, allocations: 260.6 kB / 0.6051 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.051, allocations: 1.219 kB / 0.6051 GB, free: 43.01 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)