Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_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.005744/0.005744, allocations: 101.2 kB / 15.88 MB, free: 6.312 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.001299/0.001299, allocations: 198.3 kB / 16.79 MB, free: 6.242 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.366/1.366, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6883/0.6883, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.66 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1409, allocations: 76.18 MB / 0.5559 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002292/0.1432, allocations: 1.325 MB / 0.5571 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009715/0.1442, allocations: 0.6346 MB / 0.5578 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.405e-05/0.1443, allocations: 7.938 kB / 0.5578 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.1443, allocations: 3.938 kB / 0.5578 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.1443, allocations: 0 / 0.5578 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.1448, allocations: 119.6 kB / 0.5579 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.112e-05/0.1448, allocations: 15.94 kB / 0.5579 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.1449, allocations: 7.984 kB / 0.5579 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.1449, allocations: 11.88 kB / 0.5579 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.145, allocations: 7.984 kB / 0.5579 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.145, allocations: 0 / 0.5579 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.1454, allocations: 339.4 kB / 0.5583 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.1454, allocations: 7.938 kB / 0.5583 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1455, allocations: 4 kB / 0.5583 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1457, allocations: 151.9 kB / 0.5584 GB, free: 8.062 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1457, allocations: 4 kB / 0.5584 GB, free: 8.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1457, allocations: 0 / 0.5584 GB, free: 8.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1457, allocations: 0 / 0.5584 GB, free: 8.059 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003805/0.1461, allocations: 363.4 kB / 0.5588 GB, free: 7.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.528e-05/0.1462, allocations: 8.031 kB / 0.5588 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.1462, allocations: 38.69 kB / 0.5588 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.1463, allocations: 8.875 kB / 0.5588 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1464, allocations: 168.4 kB / 0.559 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1464, allocations: 384 / 0.559 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1464, allocations: 8.375 kB / 0.559 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1465, allocations: 42.25 kB / 0.559 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1465, allocations: 3.938 kB / 0.559 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1466, allocations: 0 / 0.559 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.1466, allocations: 0 / 0.559 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.1466, allocations: 11.98 kB / 0.559 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.1468, allocations: 157.7 kB / 0.5592 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.147, allocations: 50.5 kB / 0.5592 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.147, allocations: 12.86 kB / 0.5592 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.147, allocations: 4 kB / 0.5593 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1471, allocations: 30.56 kB / 0.5593 GB, free: 6.996 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1471, allocations: 0 / 0.5593 GB, free: 6.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006092/0.1477, allocations: 318.1 kB / 0.5596 GB, free: 6.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.1477, allocations: 51.41 kB / 0.5596 GB, free: 6.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.1478, allocations: 101.9 kB / 0.5597 GB, free: 6.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1478, allocations: 29.64 kB / 0.5598 GB, free: 6.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.1479, allocations: 80.14 kB / 0.5598 GB, free: 6.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1479, allocations: 19.8 kB / 0.5599 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.1479, allocations: 21.66 kB / 0.5599 GB, free: 6.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.148, allocations: 314.8 kB / 0.5602 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.1481, allocations: 12 kB / 0.5602 GB, free: 5.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.1481, allocations: 12 kB / 0.5602 GB, free: 5.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.1482, allocations: 36.84 kB / 0.5602 GB, free: 5.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1482, allocations: 0 / 0.5602 GB, free: 5.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.616e-05/0.1483, allocations: 69.53 kB / 0.5603 GB, free: 5.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1483, allocations: 8 kB / 0.5603 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1483, allocations: 3.984 kB / 0.5603 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1483, allocations: 0.5156 kB / 0.5603 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.1484, allocations: 16 kB / 0.5603 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1484, allocations: 4 kB / 0.5603 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.1484, allocations: 0 / 0.5603 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1484, allocations: 0 / 0.5603 GB, free: 5.812 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 (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 9.34e-05/0.1485, allocations: 117.8 kB / 0.5604 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.1485, allocations: 7.875 kB / 0.5605 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.1487, allocations: 73.86 kB / 0.5605 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1487, allocations: 11.92 kB / 0.5605 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1487, allocations: 0 / 0.5605 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1487, allocations: 0 / 0.5605 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.149, allocations: 311.4 kB / 0.5608 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1491, allocations: 4.031 kB / 0.5608 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.1491, allocations: 19.92 kB / 0.5609 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1491, allocations: 0 / 0.5609 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1492, allocations: 0 / 0.5609 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1492, allocations: 0 / 0.5609 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1492, allocations: 4 kB / 0.5609 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.1494, allocations: 180.2 kB / 0.561 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.1494, allocations: 85.2 kB / 0.5611 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1494, allocations: 0 / 0.5611 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.1495, allocations: 4 kB / 0.5611 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.1495, allocations: 7.984 kB / 0.5611 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.1496, allocations: 4.125 kB / 0.5611 GB, free: 4.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.652e-05/0.1496, allocations: 79.28 kB / 0.5612 GB, free: 4.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1496, allocations: 0 / 0.5612 GB, free: 4.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1499, allocations: 27.94 kB / 0.5612 GB, free: 4.781 MB / 430.1 MB 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.0005998/0.1505, allocations: 0.7366 MB / 0.5619 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1506, allocations: 35.92 kB / 0.562 GB, free: 3.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1506, allocations: 4 kB / 0.562 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.722e-05/0.1507, allocations: 12 kB / 0.562 GB, free: 3.965 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1509, allocations: 14.89 kB / 0.562 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1523, allocations: 1.317 MB / 0.5633 GB, free: 2.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1527, allocations: 0.6809 MB / 0.564 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.1527, allocations: 7.906 kB / 0.564 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.1528, allocations: 15.44 kB / 0.564 GB, free: 1.82 MB / 430.1 MB Notification: Performance of SimCode: time 2e-07/0.1528, allocations: 0 / 0.564 GB, free: 1.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.1649, allocations: 1.472 MB / 0.5654 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.1651, allocations: 243.7 kB / 0.5657 GB, free: 288 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/1.901, allocations: 0 / 0.5657 GB, free: 288 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)