Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 106.9 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.157/1.157, allocations: 175.8 MB / 478.4 MB, free: 8.496 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 64.84 kB / 0.6652 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2285, allocations: 94.54 MB / 0.7575 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.0028/0.2313, allocations: 1.287 MB / 0.7588 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.2324, allocations: 0.6072 MB / 0.7594 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.2325, allocations: 0 / 0.7594 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.2325, allocations: 0 / 0.7594 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.2325, allocations: 7.938 kB / 0.7594 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.417/0.6495, allocations: 138.6 kB / 0.7595 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.6496, allocations: 22.98 kB / 0.7595 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.6496, allocations: 2.75 kB / 0.7595 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.6497, allocations: 13.17 kB / 0.7595 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.6498, allocations: 10.91 kB / 0.7596 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.6498, allocations: 1.75 kB / 0.7596 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.6506, allocations: 342.2 kB / 0.7599 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.6506, allocations: 2.984 kB / 0.7599 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.6506, allocations: 10.55 kB / 0.7599 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.651, allocations: 151.3 kB / 0.76 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.651, allocations: 2.641 kB / 0.76 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.651, allocations: 0 / 0.76 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.651, allocations: 0.6875 kB / 0.76 GB, free: 7.961 MB / 0.5762 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.0004903/0.6515, allocations: 364.6 kB / 0.7604 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6516, allocations: 9.594 kB / 0.7604 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.6516, allocations: 32.77 kB / 0.7604 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.6516, allocations: 2.312 kB / 0.7604 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6518, allocations: 163.6 kB / 0.7606 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.6518, allocations: 9.922 kB / 0.7606 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.6518, allocations: 2.75 kB / 0.7606 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.6519, allocations: 43.94 kB / 0.7606 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6519, allocations: 2.422 kB / 0.7606 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.6519, allocations: 0 / 0.7606 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.6519, allocations: 1.25 kB / 0.7606 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.786e-05/0.652, allocations: 11.53 kB / 0.7607 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.6522, allocations: 158.4 kB / 0.7608 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.6524, allocations: 48.39 kB / 0.7609 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.6524, allocations: 16.38 kB / 0.7609 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.6524, allocations: 5.719 kB / 0.7609 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.6524, allocations: 33.12 kB / 0.7609 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.6524, allocations: 0 / 0.7609 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006751/0.6531, allocations: 308.7 kB / 0.7612 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.6531, allocations: 54.69 kB / 0.7613 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.6532, allocations: 99.58 kB / 0.7613 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.6532, allocations: 28.23 kB / 0.7614 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.967e-05/0.6532, allocations: 81.5 kB / 0.7615 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.6533, allocations: 28.92 kB / 0.7615 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.6533, allocations: 20.92 kB / 0.7615 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.6534, allocations: 317.7 kB / 0.7618 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.6534, allocations: 12.61 kB / 0.7618 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/0.6534, allocations: 11.91 kB / 0.7618 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.6535, allocations: 36.31 kB / 0.7619 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6535, allocations: 0 / 0.7619 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001061/0.6536, allocations: 68.73 kB / 0.7619 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6536, allocations: 6.062 kB / 0.7619 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6536, allocations: 0.6562 kB / 0.7619 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.6536, allocations: 0.8125 kB / 0.7619 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.6537, allocations: 11.06 kB / 0.7619 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6537, allocations: 5.703 kB / 0.762 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.6537, allocations: 4.625 kB / 0.762 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.6537, allocations: 1.75 kB / 0.762 GB, free: 6.137 MB / 0.5762 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 (7): * Single equations (assignments): 7 * 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 5.963e-05/0.6538, allocations: 116.9 kB / 0.7621 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.6538, allocations: 6.453 kB / 0.7621 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.654, allocations: 73.59 kB / 0.7621 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.654, allocations: 0.5312 kB / 0.7621 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.654, allocations: 1 kB / 0.7621 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.654, allocations: 1.188 kB / 0.7621 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.6543, allocations: 318 kB / 0.7625 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6543, allocations: 0.8125 kB / 0.7625 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.1e-05/0.6544, allocations: 15.41 kB / 0.7625 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.6544, allocations: 5.031 kB / 0.7625 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.6544, allocations: 6.641 kB / 0.7625 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6544, allocations: 2.219 kB / 0.7625 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6544, allocations: 0 / 0.7625 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.6545, allocations: 180 kB / 0.7627 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.6546, allocations: 84.5 kB / 0.7627 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.6546, allocations: 3.031 kB / 0.7627 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.6547, allocations: 5.625 kB / 0.7627 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.6547, allocations: 8.5 kB / 0.7627 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.6547, allocations: 2.062 kB / 0.7628 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.741e-05/0.6547, allocations: 86.61 kB / 0.7628 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.6547, allocations: 0 / 0.7628 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002678/0.655, allocations: 23.77 kB / 0.7629 GB, free: 5.328 MB / 0.5762 GB 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 () * Number of clocked 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 (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.0004255/0.6554, allocations: 0.7337 MB / 0.7636 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.6556, allocations: 27.59 kB / 0.7636 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6556, allocations: 1.094 kB / 0.7636 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.6556, allocations: 18.28 kB / 0.7636 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.6558, allocations: 7.906 kB / 0.7636 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.6575, allocations: 1.332 MB / 0.7649 GB, free: 19.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.6579, allocations: 0.6797 MB / 0.7656 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.6579, allocations: 12.83 kB / 0.7656 GB, free: 18.74 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.658, allocations: 12.11 kB / 0.7656 GB, free: 18.74 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.658, allocations: 0 / 0.7656 GB, free: 18.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.6867, allocations: 1.65 MB / 0.7672 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/9.015, allocations: 11.3 kB / 0.7672 GB, free: 18.39 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.01856407802552] Failed to read output from testmodel.py, exit status != 0: 9.085805533919483 9.112733975 8.456322088 Calling exit ...