Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.0009355/0.0009356, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00689/0.006891, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.316 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.9207/0.9207, allocations: 143.2 MB / 434.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 8 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 83.4 MB / 0.598 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001385/0.1375, allocations: 1.194 MB / 0.5991 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.1385, allocations: 0.6385 MB / 0.5998 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.1386, allocations: 0 / 0.5998 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.1386, allocations: 4 kB / 0.5998 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.1386, allocations: 3.938 kB / 0.5998 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.1391, allocations: 130 kB / 0.5999 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.1392, allocations: 55.78 kB / 0.5999 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.1392, allocations: 4 kB / 0.5999 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.1393, allocations: 19.92 kB / 0.6 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.1393, allocations: 35.89 kB / 0.6 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1393, allocations: 4 kB / 0.6 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.1398, allocations: 343.4 kB / 0.6003 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.1398, allocations: 7.938 kB / 0.6003 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.1398, allocations: 49.56 kB / 0.6004 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.1401, allocations: 179.8 kB / 0.6006 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1401, allocations: 0 / 0.6006 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1401, allocations: 0 / 0.6006 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.1401, allocations: 0 / 0.6006 GB, free: 4.891 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000524/0.1407, allocations: 391.3 kB / 0.6009 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1407, allocations: 8.031 kB / 0.6009 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.1407, allocations: 46.67 kB / 0.601 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.1408, allocations: 8.844 kB / 0.601 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.731e-05/0.1409, allocations: 160.4 kB / 0.6011 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1409, allocations: 12.38 kB / 0.6012 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1409, allocations: 4.375 kB / 0.6012 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.1412, allocations: 86.2 kB / 0.6012 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1412, allocations: 3.938 kB / 0.6012 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1412, allocations: 8 kB / 0.6013 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1412, allocations: 0 / 0.6013 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.1415, allocations: 59.89 kB / 0.6013 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.142, allocations: 328.6 kB / 0.6016 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.1423, allocations: 98.41 kB / 0.6017 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1424, allocations: 32.84 kB / 0.6017 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1424, allocations: 3.984 kB / 0.6018 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1424, allocations: 34.56 kB / 0.6018 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1424, allocations: 4 kB / 0.6018 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001556/0.144, allocations: 0.6735 MB / 0.6024 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.144, allocations: 51.41 kB / 0.6025 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.034e-05/0.1441, allocations: 113.8 kB / 0.6026 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1441, allocations: 25.7 kB / 0.6026 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.1442, allocations: 88.05 kB / 0.6027 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.1442, allocations: 39.45 kB / 0.6027 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.1442, allocations: 13.72 kB / 0.6028 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.1444, allocations: 318.8 kB / 0.6031 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1445, allocations: 35.98 kB / 0.6031 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1446, allocations: 39.97 kB / 0.6031 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1449, allocations: 83.02 kB / 0.6032 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1449, allocations: 0 / 0.6032 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003236/0.1452, allocations: 129.7 kB / 0.6033 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1453, allocations: 4 kB / 0.6033 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1453, allocations: 3.938 kB / 0.6033 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.1453, allocations: 0 / 0.6033 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1454, allocations: 35.92 kB / 0.6034 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1454, allocations: 7.922 kB / 0.6034 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.1455, allocations: 12 kB / 0.6034 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1455, allocations: 0 / 0.6034 GB, free: 1.652 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.666e-05/0.1456, allocations: 113.8 kB / 0.6035 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.1456, allocations: 4 kB / 0.6035 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.146, allocations: 145.5 kB / 0.6037 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.146, allocations: 7.938 kB / 0.6037 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.146, allocations: 3.938 kB / 0.6037 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.146, allocations: 0 / 0.6037 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.1466, allocations: 390.5 kB / 0.604 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1466, allocations: 4 kB / 0.604 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1468, allocations: 27.98 kB / 0.6041 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1468, allocations: 7.875 kB / 0.6041 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1468, allocations: 0 / 0.6041 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1468, allocations: 4 kB / 0.6041 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1468, allocations: 4 kB / 0.6041 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.1473, allocations: 263.3 kB / 0.6043 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.1473, allocations: 77.11 kB / 0.6044 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1474, allocations: 7.922 kB / 0.6044 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1475, allocations: 12.03 kB / 0.6044 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.1475, allocations: 12.05 kB / 0.6044 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1475, allocations: 4 kB / 0.6044 GB, free: 488 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.1476, allocations: 83.28 kB / 0.6045 GB, free: 404 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1476, allocations: 0 / 0.6045 GB, free: 404 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002588/0.1478, allocations: 35.98 kB / 0.6046 GB, free: 368 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.221/0.3688, allocations: 0.8296 MB / 0.6054 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.3692, allocations: 93.42 kB / 0.6055 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.3692, allocations: 0 / 0.6055 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3694, allocations: 50.84 kB / 0.6055 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.3697, allocations: 13.17 kB / 0.6055 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3714, allocations: 1.678 MB / 0.6072 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.664e-05/0.3715, allocations: 0.6924 MB / 0.6078 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.499e-05/0.3715, allocations: 16.62 kB / 0.6078 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.3716, allocations: 25.64 kB / 0.6079 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.3716, allocations: 0 / 0.6079 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.3819, allocations: 2.117 MB / 0.6099 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/0.382, allocations: 264.9 kB / 0.6102 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.98, allocations: 2.391 kB / 0.6102 GB, free: 37.8 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)