Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7085/0.7085, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 188.9 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 404.5 MB, free: 1.605 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008616/0.0008616, allocations: 89.73 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.211e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1488, allocations: 76.76 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.6375, allocations: 103.3 MB / 0.7292 GB, free: 10.02 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.6378, allocations: 84.31 kB / 0.7293 GB, free: 9.973 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01244/0.6503, allocations: 4.305 MB / 0.7335 GB, free: 6.348 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6504, allocations: 0 / 0.7335 GB, free: 6.348 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.6504, allocations: 4 kB / 0.7335 GB, free: 6.344 MB / 490.7 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.0003088/0.6507, allocations: 346.2 kB / 0.7338 GB, free: 5.965 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.6507, allocations: 8.031 kB / 0.7338 GB, free: 5.957 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.6508, allocations: 34.52 kB / 0.7338 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.6508, allocations: 11.92 kB / 0.7339 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.6509, allocations: 159.1 kB / 0.734 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.651, allocations: 0 / 0.734 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.651, allocations: 4.781 kB / 0.734 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.6514, allocations: 80.28 kB / 0.7341 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.6514, allocations: 0 / 0.7341 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.6514, allocations: 0 / 0.7341 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.6514, allocations: 3.953 kB / 0.7341 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.6517, allocations: 47.38 kB / 0.7341 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.6519, allocations: 165.2 kB / 0.7343 GB, free: 5.371 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.6523, allocations: 77.34 kB / 0.7344 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.6523, allocations: 19.48 kB / 0.7344 GB, free: 5.277 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.6525, allocations: 101.2 kB / 0.7345 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.6526, allocations: 30.56 kB / 0.7345 GB, free: 5.121 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.6526, allocations: 0 / 0.7345 GB, free: 5.121 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001564/0.6542, allocations: 465 kB / 0.735 GB, free: 4.645 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.6542, allocations: 55.41 kB / 0.735 GB, free: 4.578 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.6543, allocations: 92.98 kB / 0.7351 GB, free: 4.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.6543, allocations: 33.02 kB / 0.7351 GB, free: 4.445 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.6543, allocations: 80.14 kB / 0.7352 GB, free: 4.363 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.6544, allocations: 14.75 kB / 0.7352 GB, free: 4.352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.6544, allocations: 4 kB / 0.7352 GB, free: 4.348 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6545, allocations: 318.3 kB / 0.7355 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.6546, allocations: 15.81 kB / 0.7355 GB, free: 4.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.6546, allocations: 15.5 kB / 0.7356 GB, free: 4.008 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.6547, allocations: 19.47 kB / 0.7356 GB, free: 3.992 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6547, allocations: 4 kB / 0.7356 GB, free: 3.988 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001405/0.6548, allocations: 72.7 kB / 0.7356 GB, free: 3.922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6548, allocations: 8 kB / 0.7357 GB, free: 3.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6548, allocations: 0 / 0.7357 GB, free: 3.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.6549, allocations: 3.938 kB / 0.7357 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.6551, allocations: 31.84 kB / 0.7357 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.6551, allocations: 3.953 kB / 0.7357 GB, free: 3.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.6552, allocations: 19.98 kB / 0.7357 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.6552, allocations: 4 kB / 0.7357 GB, free: 3.855 MB / 490.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 (7): * Single equations (assignments): 7 * 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.933e-05/0.6553, allocations: 108.9 kB / 0.7358 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.6553, allocations: 7.75 kB / 0.7358 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.6554, allocations: 4.094 kB / 0.7358 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6554, allocations: 0 / 0.7358 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.6554, allocations: 0 / 0.7358 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6554, allocations: 3.953 kB / 0.7358 GB, free: 3.734 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.6559, allocations: 352.6 kB / 0.7362 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6559, allocations: 0 / 0.7362 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.6561, allocations: 31.97 kB / 0.7362 GB, free: 3.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6561, allocations: 0 / 0.7362 GB, free: 3.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.6561, allocations: 3.984 kB / 0.7362 GB, free: 3.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6561, allocations: 12.12 kB / 0.7362 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6561, allocations: 4.031 kB / 0.7362 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.6564, allocations: 217.4 kB / 0.7364 GB, free: 3.086 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.6565, allocations: 81.09 kB / 0.7365 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.6565, allocations: 7.984 kB / 0.7365 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.6567, allocations: 20.05 kB / 0.7365 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.6567, allocations: 7.172 kB / 0.7365 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.6567, allocations: 4 kB / 0.7365 GB, free: 2.953 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.6568, allocations: 79.28 kB / 0.7366 GB, free: 2.875 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6568, allocations: 0 / 0.7366 GB, free: 2.875 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.657, allocations: 15 kB / 0.7366 GB, free: 2.863 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete 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 (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.0005648/0.6576, allocations: 0.8271 MB / 0.7374 GB, free: 2.027 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.6578, allocations: 42.61 kB / 0.7375 GB, free: 1.996 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6578, allocations: 0 / 0.7375 GB, free: 1.996 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/0.6578, allocations: 23.19 kB / 0.7375 GB, free: 1.977 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.658, allocations: 5.641 kB / 0.7375 GB, free: 1.977 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008259/0.6588, allocations: 258.2 kB / 0.7378 GB, free: 1.691 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.6591, allocations: 0.6809 MB / 0.7384 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.582e-05/0.6592, allocations: 8 kB / 0.7384 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.6592, allocations: 22.98 kB / 0.7385 GB, free: 0.957 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6592, allocations: 0 / 0.7385 GB, free: 0.957 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.672, allocations: 1.495 MB / 0.7399 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.6723, allocations: 196.8 kB / 0.7401 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.256, allocations: 0 / 0.7401 GB, free: 15.43 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)