Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_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.00149/0.001489, allocations: 97.52 kB / 15.69 MB, free: 488 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.002151/0.002151, allocations: 173.9 kB / 16.57 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.767/2.767, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.243/1.243, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006694/0.0006695, allocations: 12 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3133, allocations: 77.11 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.007286/0.3207, allocations: 1.157 MB / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.322, allocations: 343.1 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.3221, allocations: 0 / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.3221, allocations: 7.922 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.3222, allocations: 7.922 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.323, allocations: 75.77 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.3231, allocations: 31.95 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3232, allocations: 11.98 kB / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3234, allocations: 19.92 kB / 0.5583 GB, free: 10 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.3235, allocations: 27.89 kB / 0.5584 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.3235, allocations: 4 kB / 0.5584 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.324, allocations: 171.7 kB / 0.5585 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.3241, allocations: 15.97 kB / 0.5585 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.3241, allocations: 37.64 kB / 0.5586 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.3244, allocations: 68.12 kB / 0.5586 GB, free: 9.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3244, allocations: 0 / 0.5586 GB, free: 9.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3244, allocations: 0 / 0.5586 GB, free: 9.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3245, allocations: 0 / 0.5586 GB, free: 9.68 MB / 430.1 MB 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.0009556/0.3254, allocations: 383.1 kB / 0.559 GB, free: 9.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.861e-05/0.3255, allocations: 12.03 kB / 0.559 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.3256, allocations: 38.55 kB / 0.5591 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.3257, allocations: 7.906 kB / 0.5591 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3259, allocations: 167 kB / 0.5592 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.326, allocations: 4 kB / 0.5592 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.326, allocations: 15.95 kB / 0.5592 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.3306, allocations: 73.66 kB / 0.5593 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.3307, allocations: 8 kB / 0.5593 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.3307, allocations: 7.984 kB / 0.5593 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3308, allocations: 0 / 0.5593 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.3313, allocations: 55.97 kB / 0.5594 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.3324, allocations: 332.6 kB / 0.5597 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.3329, allocations: 94.53 kB / 0.5598 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.333, allocations: 0 / 0.5598 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.333, allocations: 30.56 kB / 0.5598 GB, free: 8.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.333, allocations: 0 / 0.5598 GB, free: 8.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.00325/0.3363, allocations: 0.6735 MB / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.3364, allocations: 55.41 kB / 0.5605 GB, free: 7.473 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3366, allocations: 101.8 kB / 0.5606 GB, free: 7.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.3367, allocations: 33.7 kB / 0.5607 GB, free: 7.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3368, allocations: 92.03 kB / 0.5607 GB, free: 7.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.3369, allocations: 35.45 kB / 0.5608 GB, free: 7.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.3369, allocations: 4 kB / 0.5608 GB, free: 7.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.3371, allocations: 318.8 kB / 0.5611 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.3374, allocations: 31.97 kB / 0.5611 GB, free: 6.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.3377, allocations: 39.73 kB / 0.5612 GB, free: 6.805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3379, allocations: 40.11 kB / 0.5612 GB, free: 6.766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.338, allocations: 0 / 0.5612 GB, free: 6.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.004807/0.3428, allocations: 121.6 kB / 0.5613 GB, free: 6.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.3429, allocations: 8 kB / 0.5613 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.343, allocations: 0 / 0.5613 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.698e-05/0.343, allocations: 7.938 kB / 0.5613 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.3434, allocations: 27.97 kB / 0.5614 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.3434, allocations: 4 kB / 0.5614 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.3436, allocations: 8 kB / 0.5614 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.3436, allocations: 7.953 kB / 0.5614 GB, free: 6.578 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.3439, allocations: 113.8 kB / 0.5615 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.3439, allocations: 4.188 kB / 0.5615 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007976/0.3448, allocations: 146.4 kB / 0.5616 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.3448, allocations: 4 kB / 0.5616 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3448, allocations: 0 / 0.5616 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.3448, allocations: 4 kB / 0.5616 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.346, allocations: 398.2 kB / 0.562 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.346, allocations: 3.938 kB / 0.562 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.3463, allocations: 31.98 kB / 0.562 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3463, allocations: 0 / 0.562 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.3464, allocations: 4 kB / 0.562 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3464, allocations: 4 kB / 0.5621 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3464, allocations: 0 / 0.5621 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/0.3474, allocations: 263.4 kB / 0.5623 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.3475, allocations: 89 kB / 0.5624 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.3476, allocations: 96 / 0.5624 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.3478, allocations: 15.94 kB / 0.5624 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.3479, allocations: 11.92 kB / 0.5624 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3479, allocations: 0 / 0.5624 GB, free: 5.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.283e-05/0.348, allocations: 83.23 kB / 0.5625 GB, free: 5.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.348, allocations: 0 / 0.5625 GB, free: 5.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005107/0.3486, allocations: 48.05 kB / 0.5625 GB, free: 5.277 MB / 430.1 MB 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 (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.00158/0.3501, allocations: 0.8184 MB / 0.5633 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004851/0.355, allocations: 95.88 kB / 0.5634 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.3551, allocations: 0 / 0.5634 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.3554, allocations: 47.98 kB / 0.5635 GB, free: 4.293 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.3559, allocations: 7.984 kB / 0.5635 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.3585, allocations: 0.754 MB / 0.5642 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.3592, allocations: 0.6926 MB / 0.5649 GB, free: 2.758 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.3593, allocations: 16.64 kB / 0.5649 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.3594, allocations: 31.44 kB / 0.5649 GB, free: 2.711 MB / 430.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3594, allocations: 0 / 0.5649 GB, free: 2.711 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08298/0.4424, allocations: 2.037 MB / 0.5669 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004799/0.443, allocations: 227.3 kB / 0.5671 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/3.517, allocations: 0 / 0.5671 GB, free: 0.6562 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: