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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 180.9 kB / 8.006 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.4869/0.4869, allocations: 90.91 MB / 99.34 MB, free: 2.168 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.347/1.347, allocations: 221.5 MB / 343.2 MB, free: 1.59 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.000867/0.0008671, allocations: 99.89 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.909e-05/1.91e-05, allocations: 7.984 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.6112, allocations: 101.5 MB / 0.6527 GB, free: 8.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.6114, allocations: 80.45 kB / 0.6528 GB, free: 8.703 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007993/0.6194, allocations: 2.865 MB / 0.6556 GB, free: 6.309 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.6195, allocations: 0 / 0.6556 GB, free: 6.309 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.6195, allocations: 0 / 0.6556 GB, free: 6.309 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002913/0.6198, allocations: 353.7 kB / 0.656 GB, free: 5.922 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.6198, allocations: 8.031 kB / 0.656 GB, free: 5.914 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.6199, allocations: 4 kB / 0.656 GB, free: 5.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.62, allocations: 159.1 kB / 0.6561 GB, free: 5.715 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.62, allocations: 0 / 0.6561 GB, free: 5.715 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.62, allocations: 15.42 kB / 0.6561 GB, free: 5.703 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.468e-05/0.6201, allocations: 7.938 kB / 0.6561 GB, free: 5.695 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.739e-05/0.6202, allocations: 37.64 kB / 0.6562 GB, free: 5.656 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.6202, allocations: 0 / 0.6562 GB, free: 5.656 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.6202, allocations: 3.953 kB / 0.6562 GB, free: 5.652 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.6202, allocations: 0 / 0.6562 GB, free: 5.652 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.6204, allocations: 133.7 kB / 0.6563 GB, free: 5.488 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.6206, allocations: 40.23 kB / 0.6564 GB, free: 5.445 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.6206, allocations: 20.05 kB / 0.6564 GB, free: 5.426 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.6206, allocations: 0 / 0.6564 GB, free: 5.426 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.6207, allocations: 31.38 kB / 0.6564 GB, free: 5.387 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 2.285e-06/0.6207, allocations: 0 / 0.6564 GB, free: 5.387 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004882/0.6212, allocations: 283.9 kB / 0.6567 GB, free: 5.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.6212, allocations: 51.41 kB / 0.6567 GB, free: 5.008 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.6213, allocations: 100.6 kB / 0.6568 GB, free: 4.906 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.6213, allocations: 29.64 kB / 0.6568 GB, free: 4.871 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.6213, allocations: 80.14 kB / 0.6569 GB, free: 4.789 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.6213, allocations: 23.64 kB / 0.6569 GB, free: 4.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.6214, allocations: 3.938 kB / 0.6569 GB, free: 4.766 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.6215, allocations: 310.8 kB / 0.6572 GB, free: 4.453 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.6215, allocations: 11.61 kB / 0.6573 GB, free: 4.445 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.6215, allocations: 12.02 kB / 0.6573 GB, free: 4.438 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.6215, allocations: 7.438 kB / 0.6573 GB, free: 4.434 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6215, allocations: 8 kB / 0.6573 GB, free: 4.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.481e-05/0.6216, allocations: 60.62 kB / 0.6573 GB, free: 4.367 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6217, allocations: 5.562 kB / 0.6573 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6217, allocations: 0 / 0.6573 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.6217, allocations: 0 / 0.6573 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.6217, allocations: 20.05 kB / 0.6574 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6218, allocations: 4.062 kB / 0.6574 GB, free: 4.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.6218, allocations: 0 / 0.6574 GB, free: 4.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.6218, allocations: 7.891 kB / 0.6574 GB, free: 4.332 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 (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.173e-05/0.6219, allocations: 109 kB / 0.6575 GB, free: 4.219 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.315e-05/0.6219, allocations: 56.62 kB / 0.6575 GB, free: 4.164 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-06/0.622, allocations: 384 / 0.6575 GB, free: 4.164 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.6221, allocations: 76.39 kB / 0.6576 GB, free: 4.098 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6221, allocations: 3.984 kB / 0.6576 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.6221, allocations: 3.953 kB / 0.6576 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6221, allocations: 0 / 0.6576 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.6224, allocations: 282.1 kB / 0.6579 GB, free: 3.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6224, allocations: 4.031 kB / 0.6579 GB, free: 3.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.6225, allocations: 8 kB / 0.6579 GB, free: 3.766 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6225, allocations: 7.938 kB / 0.6579 GB, free: 3.758 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.6225, allocations: 0 / 0.6579 GB, free: 3.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6225, allocations: 3.953 kB / 0.6579 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6225, allocations: 0 / 0.6579 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.6227, allocations: 187.6 kB / 0.6581 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.6228, allocations: 81.14 kB / 0.6582 GB, free: 3.465 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.6228, allocations: 4.203 kB / 0.6582 GB, free: 3.461 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.6229, allocations: 4 kB / 0.6582 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.6229, allocations: 7.984 kB / 0.6582 GB, free: 3.449 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.6229, allocations: 4 kB / 0.6582 GB, free: 3.445 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.493e-05/0.6229, allocations: 75.28 kB / 0.6583 GB, free: 3.371 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.573e-06/0.6229, allocations: 0 / 0.6583 GB, free: 3.371 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.6232, allocations: 27.88 kB / 0.6583 GB, free: 3.344 MB / 458.7 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 () * 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.0005083/0.6237, allocations: 0.8284 MB / 0.6591 GB, free: 2.496 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.511e-05/0.6238, allocations: 26 kB / 0.6591 GB, free: 2.477 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6238, allocations: 0 / 0.6591 GB, free: 2.477 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.6238, allocations: 15.31 kB / 0.6591 GB, free: 2.465 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.624, allocations: 8 kB / 0.6591 GB, free: 2.457 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.6244, allocations: 180.5 kB / 0.6593 GB, free: 2.246 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.6247, allocations: 0.6807 MB / 0.66 GB, free: 1.539 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.29e-05/0.6247, allocations: 8 kB / 0.66 GB, free: 1.531 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.6248, allocations: 18.73 kB / 0.66 GB, free: 1.516 MB / 458.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6248, allocations: 0 / 0.66 GB, free: 1.516 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.6463, allocations: 1.032 MB / 0.661 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.6466, allocations: 190.9 kB / 0.6612 GB, free: 320 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.162, allocations: 1.969 kB / 0.6612 GB, free: 320 kB / 458.7 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/linux/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)