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.001448/0.001448, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001265/0.001265, allocations: 193.7 kB / 16.14 MB, free: 6.656 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.508 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.9321/0.9321, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.139, allocations: 82.04 MB / 0.5937 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002106/0.1412, allocations: 1.339 MB / 0.595 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009748/0.1421, allocations: 0.6385 MB / 0.5957 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.1422, allocations: 4 kB / 0.5957 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.1422, allocations: 0 / 0.5957 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.472e-05/0.1422, allocations: 7.922 kB / 0.5957 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1426, allocations: 119.6 kB / 0.5958 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.826e-05/0.1427, allocations: 15.94 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.1427, allocations: 4 kB / 0.5958 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.1427, allocations: 7.984 kB / 0.5958 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.1428, allocations: 11.92 kB / 0.5958 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.537e-06/0.1428, allocations: 3.938 kB / 0.5958 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.1433, allocations: 339.3 kB / 0.5962 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.1433, allocations: 7.984 kB / 0.5962 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.1433, allocations: 11.92 kB / 0.5962 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1435, allocations: 147.9 kB / 0.5963 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1436, allocations: 4 kB / 0.5963 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1436, allocations: 0 / 0.5963 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.1436, allocations: 0 / 0.5963 GB, free: 7.332 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.0003852/0.144, allocations: 363.4 kB / 0.5967 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.144, allocations: 8.031 kB / 0.5967 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.144, allocations: 34.75 kB / 0.5967 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.1441, allocations: 4.938 kB / 0.5967 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1442, allocations: 160.4 kB / 0.5969 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.1442, allocations: 384 / 0.5969 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1442, allocations: 4.375 kB / 0.5969 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1444, allocations: 46.19 kB / 0.5969 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1444, allocations: 7.938 kB / 0.5969 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1444, allocations: 0 / 0.5969 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1444, allocations: 0 / 0.5969 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.1444, allocations: 11.98 kB / 0.5969 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.1447, allocations: 157.7 kB / 0.5971 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1448, allocations: 42.5 kB / 0.5971 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.1449, allocations: 24.8 kB / 0.5971 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.1449, allocations: 0 / 0.5971 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1449, allocations: 34.56 kB / 0.5972 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1449, allocations: 0 / 0.5972 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005483/0.1455, allocations: 326.3 kB / 0.5975 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.1455, allocations: 51.41 kB / 0.5975 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.1456, allocations: 101.9 kB / 0.5976 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1456, allocations: 25.7 kB / 0.5977 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.1456, allocations: 80.14 kB / 0.5977 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1456, allocations: 19.8 kB / 0.5978 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.1457, allocations: 17.72 kB / 0.5978 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.1458, allocations: 314.8 kB / 0.5981 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.1458, allocations: 12 kB / 0.5981 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/0.1458, allocations: 12 kB / 0.5981 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/0.1459, allocations: 40.78 kB / 0.5981 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1459, allocations: 0 / 0.5981 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.988e-05/0.146, allocations: 69.53 kB / 0.5982 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.146, allocations: 11.98 kB / 0.5982 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.146, allocations: 0 / 0.5982 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.146, allocations: 0 / 0.5982 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.1461, allocations: 8 kB / 0.5982 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1461, allocations: 4 kB / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.1461, allocations: 0 / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.1461, allocations: 0 / 0.5982 GB, free: 5.098 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.287e-05/0.1462, allocations: 121.8 kB / 0.5983 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1462, allocations: 3.938 kB / 0.5983 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1464, allocations: 73.7 kB / 0.5984 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1464, allocations: 4 kB / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1464, allocations: 0 / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1464, allocations: 0 / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1466, allocations: 315.4 kB / 0.5987 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1467, allocations: 3.984 kB / 0.5987 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.1467, allocations: 16.03 kB / 0.5987 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1467, allocations: 0 / 0.5987 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1467, allocations: 3.938 kB / 0.5987 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1468, allocations: 3.938 kB / 0.5987 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1468, allocations: 4 kB / 0.5987 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.1469, allocations: 184.2 kB / 0.5989 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.147, allocations: 81.14 kB / 0.599 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.147, allocations: 4.062 kB / 0.599 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.1471, allocations: 7.984 kB / 0.599 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.1471, allocations: 4 kB / 0.599 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1471, allocations: 0 / 0.599 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.1471, allocations: 79.28 kB / 0.5991 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1471, allocations: 0 / 0.5991 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002336/0.1474, allocations: 31.92 kB / 0.5991 GB, free: 4.059 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.0004223/0.1478, allocations: 0.7288 MB / 0.5998 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.1479, allocations: 36.23 kB / 0.5999 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1479, allocations: 0 / 0.5999 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.1479, allocations: 23.92 kB / 0.5999 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.1482, allocations: 3.938 kB / 0.5999 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1493, allocations: 1.329 MB / 0.6012 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.1495, allocations: 0.6848 MB / 0.6019 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.1495, allocations: 8.031 kB / 0.6019 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.1495, allocations: 19.42 kB / 0.6019 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1495, allocations: 0 / 0.6019 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2116/0.3611, allocations: 1.479 MB / 0.6033 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/0.3613, allocations: 259.3 kB / 0.6036 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.912, allocations: 0 / 0.6036 GB, free: 43.18 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)