Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.0006979/0.000698, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007275/0.0007275, allocations: 177.2 kB / 16.58 MB, free: 6.793 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.176/1.176, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5995/0.5995, allocations: 113.7 MB / 405.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 8.688 kB / 493.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.117, allocations: 77.11 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001109/0.1182, allocations: 0.9861 MB / 0.5579 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008147/0.119, allocations: 0.567 MB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.1191, allocations: 4 kB / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.1191, allocations: 0 / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.39e-05/0.1191, allocations: 0 / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.1196, allocations: 131.5 kB / 0.5585 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.844e-05/0.1196, allocations: 27.92 kB / 0.5586 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.1197, allocations: 0 / 0.5586 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.1197, allocations: 11.98 kB / 0.5586 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.7e-05/0.1197, allocations: 15.92 kB / 0.5586 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.1198, allocations: 0 / 0.5586 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.1202, allocations: 339.3 kB / 0.5589 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-06/0.1202, allocations: 4 kB / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.1202, allocations: 29.7 kB / 0.559 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.1204, allocations: 100 kB / 0.5591 GB, free: 9.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1204, allocations: 0 / 0.5591 GB, free: 9.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1204, allocations: 4 kB / 0.5591 GB, free: 9.406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1204, allocations: 0 / 0.5591 GB, free: 9.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003763/0.1208, allocations: 363.2 kB / 0.5594 GB, free: 9.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1208, allocations: 12.02 kB / 0.5594 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.1209, allocations: 38.56 kB / 0.5595 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.1209, allocations: 3.906 kB / 0.5595 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.121, allocations: 167 kB / 0.5596 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.121, allocations: 4 kB / 0.5596 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1211, allocations: 11.95 kB / 0.5596 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1212, allocations: 57.64 kB / 0.5597 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1212, allocations: 7.938 kB / 0.5597 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1212, allocations: 4 kB / 0.5597 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1212, allocations: 0 / 0.5597 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.1213, allocations: 19.92 kB / 0.5597 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.1215, allocations: 161.7 kB / 0.5599 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.921e-05/0.1216, allocations: 54.56 kB / 0.5599 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.1216, allocations: 32.84 kB / 0.56 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1216, allocations: 0 / 0.56 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1217, allocations: 46.5 kB / 0.56 GB, free: 8.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.1217, allocations: 0 / 0.56 GB, free: 8.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009096/0.1226, allocations: 0.5839 MB / 0.5606 GB, free: 7.594 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1226, allocations: 55.41 kB / 0.5606 GB, free: 7.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.1227, allocations: 93.86 kB / 0.5607 GB, free: 7.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1227, allocations: 25.7 kB / 0.5607 GB, free: 7.395 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.1227, allocations: 88.12 kB / 0.5608 GB, free: 7.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.1228, allocations: 35.41 kB / 0.5609 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-06/0.1228, allocations: 4 kB / 0.5609 GB, free: 7.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.1229, allocations: 323 kB / 0.5612 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.1229, allocations: 19.98 kB / 0.5612 GB, free: 6.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.1229, allocations: 20 kB / 0.5612 GB, free: 6.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.123, allocations: 27.81 kB / 0.5612 GB, free: 6.879 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.123, allocations: 0 / 0.5612 GB, free: 6.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000127/0.1231, allocations: 101.6 kB / 0.5613 GB, free: 6.773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1231, allocations: 4 kB / 0.5613 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1232, allocations: 0 / 0.5613 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/0.1232, allocations: 0 / 0.5613 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.1233, allocations: 27.92 kB / 0.5614 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1233, allocations: 0 / 0.5614 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.1233, allocations: 12 kB / 0.5614 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1233, allocations: 4 kB / 0.5614 GB, free: 6.727 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 6.34e-05/0.1234, allocations: 109.8 kB / 0.5615 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.1234, allocations: 11.86 kB / 0.5615 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.1236, allocations: 103.4 kB / 0.5616 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1236, allocations: 7.984 kB / 0.5616 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1236, allocations: 0 / 0.5616 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1236, allocations: 96 / 0.5616 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.1239, allocations: 362.4 kB / 0.5619 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.124, allocations: 4 kB / 0.5619 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.39e-05/0.1241, allocations: 19.94 kB / 0.562 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1241, allocations: 0 / 0.562 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1241, allocations: 3.984 kB / 0.562 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.1241, allocations: 4 kB / 0.562 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1241, allocations: 0 / 0.562 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.1243, allocations: 219.3 kB / 0.5622 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.1243, allocations: 81.02 kB / 0.5623 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1244, allocations: 8.031 kB / 0.5623 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.1244, allocations: 3.984 kB / 0.5623 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.1245, allocations: 7.938 kB / 0.5623 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1245, allocations: 4 kB / 0.5623 GB, free: 5.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.74e-05/0.1245, allocations: 79.28 kB / 0.5624 GB, free: 5.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1245, allocations: 0 / 0.5624 GB, free: 5.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1248, allocations: 32.14 kB / 0.5624 GB, free: 5.582 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0004875/0.1253, allocations: 0.7822 MB / 0.5631 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.1254, allocations: 63.92 kB / 0.5632 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1254, allocations: 0 / 0.5632 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.1254, allocations: 35.92 kB / 0.5632 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.1256, allocations: 12.06 kB / 0.5633 GB, free: 4.668 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.1264, allocations: 0.6446 MB / 0.5639 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.1266, allocations: 0.6849 MB / 0.5646 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.261e-05/0.1267, allocations: 15.97 kB / 0.5646 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.1267, allocations: 19.44 kB / 0.5646 GB, free: 3.223 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1267, allocations: 0 / 0.5646 GB, free: 3.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01011/0.1368, allocations: 1.823 MB / 0.5664 GB, free: 1.625 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/0.137, allocations: 220.4 kB / 0.5666 GB, free: 1.391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.554, allocations: 2.406 kB / 0.5666 GB, free: 1.391 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: