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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5007/0.5007, allocations: 90.92 MB / 99.35 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 95.33 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.69e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.5287, allocations: 102.4 MB / 0.6536 GB, free: 7.605 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.5289, allocations: 83.88 kB / 0.6537 GB, free: 7.559 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01214/0.5411, allocations: 4.304 MB / 0.6579 GB, free: 3.977 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5411, allocations: 0 / 0.6579 GB, free: 3.977 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.5412, allocations: 4 kB / 0.6579 GB, free: 3.973 MB / 458.7 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.0004253/0.5416, allocations: 373.5 kB / 0.6583 GB, free: 3.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5416, allocations: 8.031 kB / 0.6583 GB, free: 3.562 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.5417, allocations: 15.84 kB / 0.6583 GB, free: 3.547 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5418, allocations: 163.1 kB / 0.6585 GB, free: 3.348 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.5418, allocations: 4 kB / 0.6585 GB, free: 3.344 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.5419, allocations: 4 kB / 0.6585 GB, free: 3.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.466e-05/0.542, allocations: 29.56 kB / 0.6585 GB, free: 3.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.5421, allocations: 63.11 kB / 0.6586 GB, free: 3.262 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5421, allocations: 4 kB / 0.6586 GB, free: 3.258 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.5421, allocations: 7.953 kB / 0.6586 GB, free: 3.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.5421, allocations: 0 / 0.6586 GB, free: 3.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.5426, allocations: 301.6 kB / 0.6589 GB, free: 2.934 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.5428, allocations: 56.62 kB / 0.6589 GB, free: 2.879 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.5428, allocations: 19.92 kB / 0.6589 GB, free: 2.863 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.5428, allocations: 3.953 kB / 0.6589 GB, free: 2.859 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.5428, allocations: 34.56 kB / 0.659 GB, free: 2.816 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.5429, allocations: 0 / 0.659 GB, free: 2.816 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008202/0.5437, allocations: 0.5364 MB / 0.6595 GB, free: 2.223 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.5437, allocations: 51.41 kB / 0.6595 GB, free: 2.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.575e-05/0.5438, allocations: 96.44 kB / 0.6596 GB, free: 2.062 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.5438, allocations: 25.7 kB / 0.6596 GB, free: 2.031 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.5439, allocations: 92.16 kB / 0.6597 GB, free: 1.941 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.5439, allocations: 34.58 kB / 0.6598 GB, free: 1.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.5439, allocations: 0 / 0.6598 GB, free: 1.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.544, allocations: 318.8 kB / 0.6601 GB, free: 1.594 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.544, allocations: 23 kB / 0.6601 GB, free: 1.578 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.5441, allocations: 18.56 kB / 0.6601 GB, free: 1.566 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.5441, allocations: 20.36 kB / 0.6601 GB, free: 1.551 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5441, allocations: 0 / 0.6601 GB, free: 1.551 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001378/0.5443, allocations: 104.6 kB / 0.6602 GB, free: 1.457 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5443, allocations: 9.344 kB / 0.6602 GB, free: 1.449 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5443, allocations: 0 / 0.6602 GB, free: 1.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.5443, allocations: 0 / 0.6602 GB, free: 1.449 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.5445, allocations: 31.92 kB / 0.6603 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.5445, allocations: 4 kB / 0.6603 GB, free: 1.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.5446, allocations: 11.98 kB / 0.6603 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5446, allocations: 3.438 kB / 0.6603 GB, free: 1.402 MB / 458.7 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 () * 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.503e-05/0.5447, allocations: 108.9 kB / 0.6604 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001304/0.5448, allocations: 77.47 kB / 0.6605 GB, free: 1.219 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.5448, allocations: 7.906 kB / 0.6605 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.545, allocations: 98.44 kB / 0.6606 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.545, allocations: 8 kB / 0.6606 GB, free: 1.121 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.545, allocations: 4 kB / 0.6606 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.545, allocations: 3.984 kB / 0.6606 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.5454, allocations: 327.1 kB / 0.6609 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5454, allocations: 0 / 0.6609 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.5455, allocations: 27.05 kB / 0.6609 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5455, allocations: 3.938 kB / 0.6609 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.5456, allocations: 7.984 kB / 0.6609 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5456, allocations: 0 / 0.6609 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5456, allocations: 4 kB / 0.6609 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.5458, allocations: 220.5 kB / 0.6611 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.5459, allocations: 81.02 kB / 0.6612 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.5459, allocations: 0 / 0.6612 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.546, allocations: 11.98 kB / 0.6612 GB, free: 428 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.546, allocations: 4 kB / 0.6612 GB, free: 424 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.5461, allocations: 10.98 kB / 0.6613 GB, free: 416 kB / 458.7 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.5461, allocations: 79.28 kB / 0.6613 GB, free: 336 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.853e-06/0.5461, allocations: 0 / 0.6613 GB, free: 336 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.5464, allocations: 46.94 kB / 0.6614 GB, free: 292 kB / 458.7 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 () * 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.0005758/0.547, allocations: 0.7771 MB / 0.6621 GB, free: 15.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.5471, allocations: 66.05 kB / 0.6622 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5471, allocations: 3.938 kB / 0.6622 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.5472, allocations: 37.56 kB / 0.6622 GB, free: 15.42 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.5473, allocations: 1.125 kB / 0.6622 GB, free: 15.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.548, allocations: 289 kB / 0.6625 GB, free: 15.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5482, allocations: 0.7001 MB / 0.6632 GB, free: 14.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.544e-05/0.5483, allocations: 12.67 kB / 0.6632 GB, free: 14.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.5484, allocations: 25.36 kB / 0.6632 GB, free: 14.36 MB / 474.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5484, allocations: 0 / 0.6632 GB, free: 14.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.568, allocations: 1.682 MB / 0.6649 GB, free: 12.71 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.5683, allocations: 184.5 kB / 0.665 GB, free: 12.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.387/1.955, allocations: 1.406 kB / 0.665 GB, free: 12.52 MB / 474.7 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)