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/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_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.0009485/0.0009485, allocations: 91.84 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.006948/0.006948, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.9545/0.9545, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 12 kB / 0.5165 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 83.41 MB / 0.598 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001204/0.1439, allocations: 1.002 MB / 0.5989 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.1449, allocations: 0.6268 MB / 0.5996 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.1449, allocations: 0 / 0.5996 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.1449, allocations: 0 / 0.5996 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.216e-05/0.1449, allocations: 4 kB / 0.5996 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.1454, allocations: 127.5 kB / 0.5997 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.948e-05/0.1454, allocations: 19.92 kB / 0.5997 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.1455, allocations: 0 / 0.5997 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.1455, allocations: 4 kB / 0.5997 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.1455, allocations: 11.94 kB / 0.5997 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1456, allocations: 4 kB / 0.5997 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.1461, allocations: 347.3 kB / 0.6001 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.1461, allocations: 0 / 0.6001 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.1461, allocations: 33.64 kB / 0.6001 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1463, allocations: 147.9 kB / 0.6002 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1463, allocations: 4 kB / 0.6002 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1464, allocations: 0 / 0.6002 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.1464, allocations: 4 kB / 0.6002 GB, free: 5.297 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003536/0.1467, allocations: 359.4 kB / 0.6006 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1468, allocations: 8.031 kB / 0.6006 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.1468, allocations: 30.75 kB / 0.6006 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.1468, allocations: 8.938 kB / 0.6006 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.1469, allocations: 160.4 kB / 0.6008 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.1469, allocations: 384 / 0.6008 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.147, allocations: 8.375 kB / 0.6008 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/0.1471, allocations: 42.25 kB / 0.6008 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.1471, allocations: 3.938 kB / 0.6008 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1471, allocations: 0 / 0.6008 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1471, allocations: 0 / 0.6008 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.1472, allocations: 15.92 kB / 0.6008 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.1473, allocations: 161.6 kB / 0.601 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1475, allocations: 42.61 kB / 0.601 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.1475, allocations: 16.86 kB / 0.6011 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1476, allocations: 96 / 0.6011 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1476, allocations: 42.48 kB / 0.6011 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1476, allocations: 0 / 0.6011 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000572/0.1482, allocations: 322.3 kB / 0.6014 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1482, allocations: 55.41 kB / 0.6015 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.1483, allocations: 101.8 kB / 0.6016 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1483, allocations: 25.7 kB / 0.6016 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.1483, allocations: 80.14 kB / 0.6017 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.1484, allocations: 15.81 kB / 0.6017 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.1484, allocations: 9.719 kB / 0.6017 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.1485, allocations: 322.8 kB / 0.602 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.1485, allocations: 8 kB / 0.602 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/0.1485, allocations: 8 kB / 0.602 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.1486, allocations: 44.83 kB / 0.602 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1486, allocations: 0 / 0.602 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.629e-05/0.1487, allocations: 73.47 kB / 0.6021 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1487, allocations: 5.719 kB / 0.6021 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1487, allocations: 0 / 0.6021 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.1487, allocations: 0 / 0.6021 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/0.1488, allocations: 12 kB / 0.6021 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1488, allocations: 0 / 0.6021 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.1488, allocations: 4 kB / 0.6021 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1488, allocations: 0 / 0.6021 GB, free: 3.07 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 (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 6.383e-05/0.1489, allocations: 113.8 kB / 0.6022 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1489, allocations: 7.922 kB / 0.6023 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.1491, allocations: 81.53 kB / 0.6023 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1491, allocations: 0 / 0.6023 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1491, allocations: 0 / 0.6023 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1491, allocations: 0 / 0.6023 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1494, allocations: 319.5 kB / 0.6026 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1494, allocations: 4.031 kB / 0.6026 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.1495, allocations: 12 kB / 0.6026 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1495, allocations: 0 / 0.6026 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1495, allocations: 3.938 kB / 0.6027 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1495, allocations: 4 kB / 0.6027 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1495, allocations: 0 / 0.6027 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.1497, allocations: 184.2 kB / 0.6028 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.1497, allocations: 89.2 kB / 0.6029 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1498, allocations: 3.984 kB / 0.6029 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.1498, allocations: 0 / 0.6029 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.1499, allocations: 4 kB / 0.6029 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1499, allocations: 4 kB / 0.6029 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.928e-05/0.1499, allocations: 79.28 kB / 0.603 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1499, allocations: 0 / 0.603 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002444/0.1502, allocations: 27.92 kB / 0.603 GB, free: 2.035 MB / 0.4981 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.0004298/0.1506, allocations: 0.7328 MB / 0.6037 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.138e-05/0.1507, allocations: 31.98 kB / 0.6038 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1507, allocations: 0 / 0.6038 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.1507, allocations: 23.92 kB / 0.6038 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.151, allocations: 7.672 kB / 0.6038 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2348/0.3858, allocations: 1.34 MB / 0.6051 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.209e-05/0.3859, allocations: 0.6873 MB / 0.6058 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.386, allocations: 7.25 kB / 0.6058 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.386, allocations: 14.03 kB / 0.6058 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.386, allocations: 0 / 0.6058 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009754/0.3958, allocations: 1.424 MB / 0.6072 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/0.3959, allocations: 255.5 kB / 0.6074 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.01, allocations: 1.688 kB / 0.6074 GB, free: 38.95 MB / 0.4981 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)