Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_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.001649/0.001649, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7775/0.7775, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.3 MB / 400.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 91.83 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.18e-05, allocations: 3.812 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1497, allocations: 82.31 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5774/0.7272, allocations: 112.9 MB / 0.7507 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.7274, allocations: 79.92 kB / 0.7508 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01172/0.7391, allocations: 4.32 MB / 0.755 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7392, allocations: 0 / 0.755 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.7392, allocations: 3.938 kB / 0.755 GB, free: 27.37 MB / 0.5105 GB 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.0004499/0.7396, allocations: 378.3 kB / 0.7554 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.7397, allocations: 11.78 kB / 0.7554 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.7398, allocations: 36.23 kB / 0.7554 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.7398, allocations: 3.75 kB / 0.7554 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.7399, allocations: 174.7 kB / 0.7556 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.7399, allocations: 7.438 kB / 0.7556 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.74, allocations: 6.062 kB / 0.7556 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.7401, allocations: 65.88 kB / 0.7557 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.7401, allocations: 7.984 kB / 0.7557 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7402, allocations: 7.844 kB / 0.7557 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7402, allocations: 0 / 0.7557 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.7403, allocations: 32.11 kB / 0.7557 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.7408, allocations: 331.4 kB / 0.756 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.7409, allocations: 63.98 kB / 0.7561 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.741, allocations: 23.33 kB / 0.7561 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.741, allocations: 3.844 kB / 0.7561 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.741, allocations: 30.56 kB / 0.7561 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.741, allocations: 3.938 kB / 0.7562 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0009171/0.742, allocations: 0.5691 MB / 0.7567 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.742, allocations: 55.25 kB / 0.7568 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.7421, allocations: 94.69 kB / 0.7568 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.7421, allocations: 25.7 kB / 0.7569 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.7421, allocations: 91.3 kB / 0.757 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.7422, allocations: 38.31 kB / 0.757 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.7422, allocations: 4 kB / 0.757 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7423, allocations: 320.8 kB / 0.7573 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.7423, allocations: 18.38 kB / 0.7573 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.7424, allocations: 22.19 kB / 0.7573 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.7424, allocations: 26.47 kB / 0.7574 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.7424, allocations: 0 / 0.7574 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001364/0.7426, allocations: 99.3 kB / 0.7575 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7426, allocations: 11.55 kB / 0.7575 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7426, allocations: 0 / 0.7575 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.7426, allocations: 4.094 kB / 0.7575 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.7428, allocations: 31.41 kB / 0.7575 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.7428, allocations: 1.969 kB / 0.7575 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.7429, allocations: 7.562 kB / 0.7575 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.7429, allocations: 5.594 kB / 0.7575 GB, free: 25.22 MB / 0.5105 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 (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 7.1e-05/0.743, allocations: 112.3 kB / 0.7576 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.743, allocations: 7.75 kB / 0.7576 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.7432, allocations: 111.2 kB / 0.7577 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.7432, allocations: 3.844 kB / 0.7577 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7432, allocations: 0 / 0.7577 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7432, allocations: 0 / 0.7577 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.7436, allocations: 364 kB / 0.7581 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7436, allocations: 0 / 0.7581 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.7438, allocations: 41.06 kB / 0.7581 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.7438, allocations: 0 / 0.7581 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.7438, allocations: 4.188 kB / 0.7581 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.7438, allocations: 6.984 kB / 0.7581 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7438, allocations: 0 / 0.7581 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.744, allocations: 222.2 kB / 0.7584 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.7441, allocations: 87.8 kB / 0.7584 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.7441, allocations: 3.953 kB / 0.7584 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.7442, allocations: 11.44 kB / 0.7585 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.7443, allocations: 10.97 kB / 0.7585 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.7443, allocations: 2.953 kB / 0.7585 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.252e-05/0.7443, allocations: 81.81 kB / 0.7585 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7443, allocations: 7.844 kB / 0.7586 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002618/0.7446, allocations: 41.41 kB / 0.7586 GB, free: 24.41 MB / 0.5105 GB 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.0005558/0.7452, allocations: 0.7933 MB / 0.7594 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.7453, allocations: 65.36 kB / 0.7594 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7453, allocations: 0 / 0.7594 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.7454, allocations: 39.64 kB / 0.7595 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.7455, allocations: 13.73 kB / 0.7595 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.7461, allocations: 296.9 kB / 0.7598 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.7464, allocations: 0.7011 MB / 0.7605 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.183e-05/0.7464, allocations: 14.52 kB / 0.7605 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.7465, allocations: 27.05 kB / 0.7605 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.7465, allocations: 0 / 0.7605 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.7591, allocations: 1.983 MB / 0.7624 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/0.7593, allocations: 184.8 kB / 0.7626 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.318, allocations: 9.031 kB / 0.7626 GB, free: 21.79 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)