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.00105/0.00105, allocations: 99.05 kB / 16.02 MB, free: 80 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.001392/0.001392, allocations: 182.3 kB / 16.92 MB, free: 6.754 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.275/1.275, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6102/0.6102, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 8.875 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 77.53 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001213/0.1239, allocations: 0.9926 MB / 0.561 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.1249, allocations: 0.6152 MB / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.1249, allocations: 3.938 kB / 0.5616 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.1249, allocations: 3.938 kB / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.125, allocations: 0 / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.1255, allocations: 123.6 kB / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.558e-05/0.1255, allocations: 23.92 kB / 0.5618 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.1256, allocations: 0 / 0.5618 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.1256, allocations: 4 kB / 0.5618 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.1256, allocations: 19.86 kB / 0.5618 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.1257, allocations: 0 / 0.5618 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.1261, allocations: 343.4 kB / 0.5621 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.1262, allocations: 3.938 kB / 0.5621 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.1262, allocations: 41.62 kB / 0.5622 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1264, allocations: 143.9 kB / 0.5623 GB, free: 6.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1265, allocations: 0 / 0.5623 GB, free: 6.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1265, allocations: 0 / 0.5623 GB, free: 6.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1265, allocations: 0 / 0.5623 GB, free: 6.609 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.0003501/0.1268, allocations: 361.5 kB / 0.5626 GB, free: 6.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1269, allocations: 8.031 kB / 0.5626 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.1269, allocations: 30.75 kB / 0.5627 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.1269, allocations: 8.844 kB / 0.5627 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.127, allocations: 164.3 kB / 0.5628 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1271, allocations: 8.375 kB / 0.5628 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1271, allocations: 8.359 kB / 0.5629 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.052e-05/0.1272, allocations: 34.27 kB / 0.5629 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1272, allocations: 3.938 kB / 0.5629 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1272, allocations: 0 / 0.5629 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1272, allocations: 4 kB / 0.5629 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.367e-05/0.1272, allocations: 11.97 kB / 0.5629 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.1274, allocations: 157.7 kB / 0.5631 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1276, allocations: 50.55 kB / 0.5631 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.1276, allocations: 16.86 kB / 0.5631 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1276, allocations: 4.078 kB / 0.5631 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1277, allocations: 30.56 kB / 0.5632 GB, free: 5.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.1277, allocations: 0 / 0.5632 GB, free: 5.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005455/0.1282, allocations: 330.1 kB / 0.5635 GB, free: 5.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1283, allocations: 55.41 kB / 0.5635 GB, free: 5.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/0.1283, allocations: 101.8 kB / 0.5636 GB, free: 5.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1283, allocations: 25.7 kB / 0.5636 GB, free: 4.973 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.1284, allocations: 80.14 kB / 0.5637 GB, free: 4.891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1284, allocations: 19.72 kB / 0.5637 GB, free: 4.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.1284, allocations: 13.66 kB / 0.5638 GB, free: 4.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.1285, allocations: 318.8 kB / 0.5641 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.1286, allocations: 8 kB / 0.5641 GB, free: 4.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.1286, allocations: 16 kB / 0.5641 GB, free: 4.508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.1287, allocations: 32.84 kB / 0.5641 GB, free: 4.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.1287, allocations: 4 kB / 0.5641 GB, free: 4.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.1288, allocations: 65.53 kB / 0.5642 GB, free: 4.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1288, allocations: 9.719 kB / 0.5642 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1288, allocations: 0 / 0.5642 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.1288, allocations: 0 / 0.5642 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.79e-05/0.1289, allocations: 15.88 kB / 0.5642 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1289, allocations: 0 / 0.5642 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.1289, allocations: 4 kB / 0.5642 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1289, allocations: 8 kB / 0.5642 GB, free: 4.363 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 7.155e-05/0.129, allocations: 113.8 kB / 0.5643 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.129, allocations: 3.938 kB / 0.5643 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.1292, allocations: 69.89 kB / 0.5644 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1292, allocations: 4 kB / 0.5644 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.1292, allocations: 0 / 0.5644 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1292, allocations: 0 / 0.5644 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.1295, allocations: 323.3 kB / 0.5647 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1295, allocations: 0 / 0.5647 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.1295, allocations: 15.94 kB / 0.5647 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1296, allocations: 0 / 0.5647 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.1296, allocations: 0 / 0.5647 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1296, allocations: 0 / 0.5647 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1296, allocations: 4.172 kB / 0.5647 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1298, allocations: 192.3 kB / 0.5649 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1298, allocations: 77.62 kB / 0.565 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1298, allocations: 8.016 kB / 0.565 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1299, allocations: 7.938 kB / 0.565 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.1299, allocations: 4 kB / 0.565 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1299, allocations: 0 / 0.565 GB, free: 3.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.325e-05/0.13, allocations: 83.27 kB / 0.5651 GB, free: 3.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.13, allocations: 3.938 kB / 0.5651 GB, free: 3.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1302, allocations: 31.92 kB / 0.5651 GB, free: 3.328 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.0004653/0.1307, allocations: 0.7212 MB / 0.5658 GB, free: 2.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.987e-05/0.1308, allocations: 35.92 kB / 0.5659 GB, free: 2.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1308, allocations: 0 / 0.5659 GB, free: 2.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.1308, allocations: 20.11 kB / 0.5659 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1311, allocations: 8.812 kB / 0.5659 GB, free: 2.516 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1321, allocations: 1.351 MB / 0.5672 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.1324, allocations: 0.677 MB / 0.5679 GB, free: 380 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.011e-05/0.1324, allocations: 4 kB / 0.5679 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.1324, allocations: 15.44 kB / 0.5679 GB, free: 360 kB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1324, allocations: 0 / 0.5679 GB, free: 360 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7588/0.8912, allocations: 1.408 MB / 0.5693 GB, free: 15.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.8915, allocations: 247.1 kB / 0.5695 GB, free: 14.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.61, allocations: 0 / 0.5695 GB, free: 14.91 MB / 446.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)