Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_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.005465/0.005465, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 198 kB / 16.68 MB, free: 5.969 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8293/0.8293, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3528, allocations: 80.21 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001913/0.3547, allocations: 1.274 MB / 0.6604 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008491/0.3556, allocations: 0.6164 MB / 0.661 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.3556, allocations: 4 kB / 0.661 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.3557, allocations: 5.969 kB / 0.661 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.713e-05/0.3557, allocations: 4.781 kB / 0.661 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.3562, allocations: 150.4 kB / 0.6612 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.032e-05/0.3563, allocations: 35.64 kB / 0.6612 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.3563, allocations: 8.047 kB / 0.6612 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.062e-05/0.3564, allocations: 8.188 kB / 0.6612 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.3564, allocations: 15.3 kB / 0.6613 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3564, allocations: 5.375 kB / 0.6613 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.357, allocations: 345.4 kB / 0.6616 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.357, allocations: 3.75 kB / 0.6616 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.3571, allocations: 14.72 kB / 0.6616 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3573, allocations: 150.9 kB / 0.6618 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3573, allocations: 0 / 0.6618 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3573, allocations: 0 / 0.6618 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.3574, allocations: 1.5 kB / 0.6618 GB, free: 8.309 MB / 0.4981 GB 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.0003189/0.3577, allocations: 377.6 kB / 0.6621 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3577, allocations: 13.44 kB / 0.6621 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.345e-05/0.3578, allocations: 37.58 kB / 0.6622 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.3578, allocations: 2.438 kB / 0.6622 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.191e-05/0.3579, allocations: 167.2 kB / 0.6623 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3579, allocations: 5.359 kB / 0.6623 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3579, allocations: 8.609 kB / 0.6623 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.358, allocations: 48.7 kB / 0.6624 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.358, allocations: 5.172 kB / 0.6624 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.358, allocations: 1.906 kB / 0.6624 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3581, allocations: 0 / 0.6624 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.3581, allocations: 26.53 kB / 0.6624 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.3582, allocations: 167.3 kB / 0.6626 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.3583, allocations: 56.3 kB / 0.6626 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.3584, allocations: 32.89 kB / 0.6627 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3584, allocations: 1.672 kB / 0.6627 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.3584, allocations: 32.53 kB / 0.6627 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3584, allocations: 4 kB / 0.6627 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0009826/0.3594, allocations: 0.5914 MB / 0.6633 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.3595, allocations: 51.41 kB / 0.6633 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.022e-05/0.3595, allocations: 101.9 kB / 0.6634 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.3595, allocations: 27.17 kB / 0.6634 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.381e-05/0.3595, allocations: 82.28 kB / 0.6635 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.3596, allocations: 42.94 kB / 0.6636 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3596, allocations: 27.59 kB / 0.6636 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.3597, allocations: 322.8 kB / 0.6639 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.3597, allocations: 18.45 kB / 0.6639 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.3598, allocations: 24.75 kB / 0.6639 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.462e-05/0.3598, allocations: 55.69 kB / 0.664 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3598, allocations: 5.312 kB / 0.664 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001341/0.36, allocations: 100.3 kB / 0.6641 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.36, allocations: 7.375 kB / 0.6641 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.36, allocations: 0.7031 kB / 0.6641 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.36, allocations: 1.344 kB / 0.6641 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3601, allocations: 20.48 kB / 0.6641 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3601, allocations: 1.375 kB / 0.6641 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.3602, allocations: 4.797 kB / 0.6641 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.3602, allocations: 2.625 kB / 0.6641 GB, free: 6.027 MB / 0.4981 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.3602, allocations: 122.2 kB / 0.6642 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.3603, allocations: 2.812 kB / 0.6643 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.3604, allocations: 118 kB / 0.6644 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3605, allocations: 1.281 kB / 0.6644 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3605, allocations: 0.7031 kB / 0.6644 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3605, allocations: 2.188 kB / 0.6644 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.3608, allocations: 359.6 kB / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3608, allocations: 1.219 kB / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3609, allocations: 20.61 kB / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3609, allocations: 5.156 kB / 0.6647 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3609, allocations: 5.5 kB / 0.6647 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3609, allocations: 1.281 kB / 0.6647 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3609, allocations: 3.984 kB / 0.6647 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.3611, allocations: 213.3 kB / 0.665 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.3612, allocations: 86.34 kB / 0.665 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3612, allocations: 5.125 kB / 0.665 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.3613, allocations: 6.5 kB / 0.665 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.3613, allocations: 11.89 kB / 0.6651 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.3613, allocations: 10.38 kB / 0.6651 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.654e-05/0.3613, allocations: 77.88 kB / 0.6651 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3613, allocations: 0 / 0.6651 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002752/0.3616, allocations: 35.97 kB / 0.6652 GB, free: 5.062 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004031/0.362, allocations: 0.7759 MB / 0.6659 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.3622, allocations: 66.5 kB / 0.666 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.3622, allocations: 0 / 0.666 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.3622, allocations: 34.08 kB / 0.666 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.3625, allocations: 14.53 kB / 0.666 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.3636, allocations: 1.509 MB / 0.6675 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.061e-05/0.3637, allocations: 0.6916 MB / 0.6682 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.3637, allocations: 6.031 kB / 0.6682 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.3638, allocations: 20.92 kB / 0.6682 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.3638, allocations: 0 / 0.6682 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.3881, allocations: 2.058 MB / 0.6702 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.65, allocations: 5.984 kB / 0.6702 GB, free: 1.141 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)