Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001342/0.001342, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 187.8 kB / 16.66 MB, free: 6.59 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.014/1.014, allocations: 143.3 MB / 433.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.88 kB / 0.5953 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.345, allocations: 82.03 MB / 0.6754 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002266/0.3473, allocations: 1.271 MB / 0.6766 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3485, allocations: 0.6223 MB / 0.6773 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.3485, allocations: 0 / 0.6773 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.3485, allocations: 7.922 kB / 0.6773 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.12e-05/0.3486, allocations: 5.219 kB / 0.6773 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.3491, allocations: 152.9 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.3492, allocations: 21.2 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.3492, allocations: 1.719 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.3492, allocations: 8.281 kB / 0.6774 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.3493, allocations: 12.02 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3493, allocations: 0 / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005381/0.3499, allocations: 345.5 kB / 0.6778 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.3499, allocations: 5.125 kB / 0.6778 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.3499, allocations: 12.59 kB / 0.6778 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3502, allocations: 145.4 kB / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.3502, allocations: 0 / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.949e-06/0.3502, allocations: 1.031 kB / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3502, allocations: 3.938 kB / 0.6779 GB, free: 15.03 MB / 0.5137 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.0004415/0.3506, allocations: 362.5 kB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3507, allocations: 10 kB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.3507, allocations: 31.81 kB / 0.6783 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.3508, allocations: 7.094 kB / 0.6783 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3509, allocations: 169.6 kB / 0.6785 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3509, allocations: 5.562 kB / 0.6785 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3509, allocations: 1.562 kB / 0.6785 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.351, allocations: 40.75 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3511, allocations: 5.062 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.3511, allocations: 0 / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3511, allocations: 1.125 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.3511, allocations: 9.594 kB / 0.6786 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.3513, allocations: 167.2 kB / 0.6787 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.3515, allocations: 39.7 kB / 0.6788 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.3516, allocations: 19.5 kB / 0.6788 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3516, allocations: 1.188 kB / 0.6788 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3516, allocations: 35.66 kB / 0.6788 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3516, allocations: 0 / 0.6788 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006458/0.3523, allocations: 324.4 kB / 0.6791 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3523, allocations: 52.53 kB / 0.6792 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.3524, allocations: 96.81 kB / 0.6793 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3524, allocations: 30.83 kB / 0.6793 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.3525, allocations: 84.12 kB / 0.6794 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.3525, allocations: 23.17 kB / 0.6794 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.3526, allocations: 22.55 kB / 0.6794 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3527, allocations: 315.7 kB / 0.6797 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.3527, allocations: 10.69 kB / 0.6797 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.3528, allocations: 15.17 kB / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.838e-05/0.3528, allocations: 28.33 kB / 0.6798 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3528, allocations: 0 / 0.6798 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001101/0.3529, allocations: 76.89 kB / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.353, allocations: 4.969 kB / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.353, allocations: 240 / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.353, allocations: 1.031 kB / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.353, allocations: 9.125 kB / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3531, allocations: 9.234 kB / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.3531, allocations: 3.984 kB / 0.6799 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3531, allocations: 2.375 kB / 0.6799 GB, free: 12.99 MB / 0.5137 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 8.34e-05/0.3532, allocations: 112.3 kB / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.3532, allocations: 5.156 kB / 0.68 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.3534, allocations: 74.56 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3534, allocations: 1.281 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3534, allocations: 0 / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3534, allocations: 5.234 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.3537, allocations: 319.6 kB / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3537, allocations: 0 / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.3538, allocations: 10.41 kB / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3538, allocations: 1.688 kB / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3538, allocations: 4 kB / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3538, allocations: 1.719 kB / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3538, allocations: 3.984 kB / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.3541, allocations: 186.5 kB / 0.6806 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.3541, allocations: 87.31 kB / 0.6806 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3541, allocations: 5.219 kB / 0.6807 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.3542, allocations: 1 kB / 0.6807 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.3542, allocations: 3.031 kB / 0.6807 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3542, allocations: 5.969 kB / 0.6807 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.3543, allocations: 81.55 kB / 0.6807 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3543, allocations: 4.062 kB / 0.6807 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002475/0.3546, allocations: 20 kB / 0.6808 GB, free: 12.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0005659/0.3551, allocations: 0.7353 MB / 0.6815 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.3552, allocations: 36.58 kB / 0.6815 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3553, allocations: 5.281 kB / 0.6815 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.3553, allocations: 14.97 kB / 0.6815 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3555, allocations: 6.938 kB / 0.6815 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.3568, allocations: 1.321 MB / 0.6828 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.3571, allocations: 0.6794 MB / 0.6835 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.3571, allocations: 3.156 kB / 0.6835 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.3572, allocations: 14.91 kB / 0.6835 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.3572, allocations: 5.125 kB / 0.6835 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.3798, allocations: 1.65 MB / 0.6851 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.568/8.947, allocations: 8.188 kB / 0.6851 GB, free: 8.5 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)