Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 171.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7913/0.7913, allocations: 133.5 MB / 141.6 MB, free: 2.82 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009765, allocations: 92.67 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.919e-05, allocations: 0 / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5176, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.6682, allocations: 111.4 MB / 0.7427 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.6684, allocations: 75.95 kB / 0.7428 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.6799, allocations: 4.04 MB / 0.7467 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6799, allocations: 0 / 0.7467 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.6799, allocations: 4 kB / 0.7467 GB, free: 7.211 MB / 0.5261 GB 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.00037/0.6803, allocations: 342.5 kB / 0.7471 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6804, allocations: 11.97 kB / 0.7471 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.6804, allocations: 7.906 kB / 0.7471 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.6805, allocations: 163 kB / 0.7472 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.6806, allocations: 0 / 0.7472 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.6806, allocations: 4 kB / 0.7473 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.696e-05/0.6807, allocations: 4 kB / 0.7473 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.641e-05/0.6807, allocations: 37.69 kB / 0.7473 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6808, allocations: 8 kB / 0.7473 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.6808, allocations: 0 / 0.7473 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6808, allocations: 0 / 0.7473 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.681, allocations: 142.1 kB / 0.7474 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.6812, allocations: 42.55 kB / 0.7475 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.6812, allocations: 20.8 kB / 0.7475 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.6812, allocations: 0 / 0.7475 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.6813, allocations: 34.56 kB / 0.7475 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6813, allocations: 0 / 0.7475 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0005465/0.6818, allocations: 282.4 kB / 0.7478 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.6819, allocations: 55.41 kB / 0.7478 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.6819, allocations: 88.98 kB / 0.7479 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.682, allocations: 33.7 kB / 0.748 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.682, allocations: 84.14 kB / 0.748 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.682, allocations: 19.59 kB / 0.7481 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-06/0.682, allocations: 0 / 0.7481 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.6822, allocations: 322.8 kB / 0.7484 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.6822, allocations: 4 kB / 0.7484 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.6822, allocations: 12 kB / 0.7484 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.6822, allocations: 11.95 kB / 0.7484 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.6822, allocations: 0 / 0.7484 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.879e-05/0.6823, allocations: 57.62 kB / 0.7485 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6824, allocations: 8 kB / 0.7485 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6824, allocations: 4 kB / 0.7485 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.6824, allocations: 0 / 0.7485 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.6825, allocations: 20.05 kB / 0.7485 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.6825, allocations: 4 kB / 0.7485 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.6825, allocations: 0 / 0.7485 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.6825, allocations: 0 / 0.7485 GB, free: 5.18 MB / 0.5261 GB 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.728e-05/0.6826, allocations: 104.9 kB / 0.7486 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.96e-05/0.6827, allocations: 61.53 kB / 0.7486 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.6827, allocations: 4 kB / 0.7487 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.6828, allocations: 66.09 kB / 0.7487 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6828, allocations: 0 / 0.7487 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.6828, allocations: 0 / 0.7487 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6829, allocations: 0 / 0.7487 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.6832, allocations: 283.9 kB / 0.749 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.6832, allocations: 4 kB / 0.749 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.6833, allocations: 11.98 kB / 0.749 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6833, allocations: 0 / 0.749 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6833, allocations: 8 kB / 0.749 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6833, allocations: 7.969 kB / 0.749 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6833, allocations: 0 / 0.749 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.6835, allocations: 189.9 kB / 0.7492 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.6836, allocations: 85.12 kB / 0.7493 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.6836, allocations: 256 / 0.7493 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.6837, allocations: 4.062 kB / 0.7493 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.6837, allocations: 11.98 kB / 0.7493 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.6837, allocations: 7.953 kB / 0.7493 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.6838, allocations: 79.28 kB / 0.7494 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6838, allocations: 0 / 0.7494 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002476/0.684, allocations: 20 kB / 0.7494 GB, free: 4.141 MB / 0.5261 GB 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.0005175/0.6845, allocations: 0.8188 MB / 0.7502 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.6846, allocations: 24 kB / 0.7502 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6847, allocations: 4 kB / 0.7502 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.6847, allocations: 11.94 kB / 0.7502 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.6848, allocations: 11.89 kB / 0.7502 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.6853, allocations: 187.1 kB / 0.7504 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.6856, allocations: 0.6807 MB / 0.7511 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.6856, allocations: 8.375 kB / 0.7511 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.6856, allocations: 15.42 kB / 0.7511 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of SimCode: time 3.7e-07/0.6856, allocations: 0 / 0.7511 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.7081, allocations: 1.034 MB / 0.7521 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.7083, allocations: 168.6 kB / 0.7523 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/2.203, allocations: 0 / 0.7523 GB, free: 1.074 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)