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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.000867/0.0008672, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009442/0.0009445, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9675/0.9675, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 83.42 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001292/0.1519, allocations: 0.9978 MB / 0.5985 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000928/0.1528, allocations: 0.565 MB / 0.5991 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.1529, allocations: 0 / 0.5991 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.109e-05/0.1529, allocations: 0 / 0.5991 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.749e-05/0.1529, allocations: 3.984 kB / 0.5991 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.1535, allocations: 123.6 kB / 0.5992 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.1535, allocations: 23.86 kB / 0.5992 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.1536, allocations: 0 / 0.5992 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.1536, allocations: 7.984 kB / 0.5992 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.1537, allocations: 7.938 kB / 0.5992 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1537, allocations: 4 kB / 0.5992 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000521/0.1542, allocations: 335.3 kB / 0.5996 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1543, allocations: 7.969 kB / 0.5996 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.1543, allocations: 29.7 kB / 0.5996 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1545, allocations: 88.12 kB / 0.5997 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1545, allocations: 4 kB / 0.5997 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1545, allocations: 7.875 kB / 0.5997 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1545, allocations: 0 / 0.5997 GB, free: 5.504 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.0004219/0.155, allocations: 359.2 kB / 0.6 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.155, allocations: 8.031 kB / 0.6 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.1551, allocations: 34.56 kB / 0.6001 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1551, allocations: 7.953 kB / 0.6001 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1552, allocations: 163.1 kB / 0.6002 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1552, allocations: 0 / 0.6002 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1552, allocations: 4 kB / 0.6002 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1554, allocations: 45.62 kB / 0.6003 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1554, allocations: 0 / 0.6003 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1554, allocations: 4 kB / 0.6003 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1554, allocations: 0 / 0.6003 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.1555, allocations: 11.98 kB / 0.6003 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1556, allocations: 161.7 kB / 0.6005 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1558, allocations: 46.5 kB / 0.6005 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.1559, allocations: 20.86 kB / 0.6005 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1559, allocations: 0 / 0.6005 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.1559, allocations: 30.56 kB / 0.6005 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1559, allocations: 0 / 0.6005 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005818/0.1565, allocations: 310.3 kB / 0.6008 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1565, allocations: 55.41 kB / 0.6009 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.1566, allocations: 101.8 kB / 0.601 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1567, allocations: 29.7 kB / 0.601 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.1567, allocations: 88.06 kB / 0.6011 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1567, allocations: 15.72 kB / 0.6011 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.1567, allocations: 4 kB / 0.6011 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.1569, allocations: 314.8 kB / 0.6014 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.157, allocations: 7.984 kB / 0.6014 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.157, allocations: 12 kB / 0.6014 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.397e-05/0.157, allocations: 19.88 kB / 0.6015 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1571, allocations: 4 kB / 0.6015 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.741e-05/0.1572, allocations: 73.58 kB / 0.6015 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1572, allocations: 4 kB / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1572, allocations: 0 / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1572, allocations: 0 / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.1573, allocations: 15.98 kB / 0.6016 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1573, allocations: 0 / 0.6016 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1573, allocations: 0 / 0.6016 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1573, allocations: 3.953 kB / 0.6016 GB, free: 3.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.1574, allocations: 117.8 kB / 0.6017 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.1574, allocations: 3.938 kB / 0.6017 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.1575, allocations: 69.64 kB / 0.6017 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1575, allocations: 4 kB / 0.6017 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1575, allocations: 0 / 0.6017 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1576, allocations: 0 / 0.6017 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.1578, allocations: 319.5 kB / 0.602 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1579, allocations: 0 / 0.602 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.1579, allocations: 16.03 kB / 0.6021 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1579, allocations: 0 / 0.6021 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1579, allocations: 3.984 kB / 0.6021 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1579, allocations: 0 / 0.6021 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.158, allocations: 4 kB / 0.6021 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1581, allocations: 180.2 kB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.1582, allocations: 81.09 kB / 0.6023 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1582, allocations: 4.094 kB / 0.6023 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.1583, allocations: 11.94 kB / 0.6023 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.1583, allocations: 4 kB / 0.6023 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.1583, allocations: 7.938 kB / 0.6023 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.1583, allocations: 79.28 kB / 0.6024 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1584, allocations: 0 / 0.6024 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002478/0.1586, allocations: 27.94 kB / 0.6024 GB, free: 2.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004477/0.1591, allocations: 0.7289 MB / 0.6032 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.552e-05/0.1592, allocations: 31.98 kB / 0.6032 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1592, allocations: 3.938 kB / 0.6032 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.1592, allocations: 19.94 kB / 0.6032 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.1594, allocations: 4 kB / 0.6032 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/0.1601, allocations: 496.4 kB / 0.6037 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.1603, allocations: 0.6809 MB / 0.6044 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.1604, allocations: 11.98 kB / 0.6044 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.1604, allocations: 11.44 kB / 0.6044 GB, free: 208 kB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1604, allocations: 4 kB / 0.6044 GB, free: 204 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2473/0.4077, allocations: 1.417 MB / 0.6058 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/0.4079, allocations: 251 kB / 0.606 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.049, allocations: 0.9375 kB / 0.606 GB, free: 39.6 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/linux/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) Environment - environmentSimulation: