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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8478/0.8478, allocations: 133.9 MB / 443.5 MB, free: 13.88 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 65.72 kB / 0.6141 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1444, allocations: 85.87 MB / 0.698 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002801/0.1472, allocations: 1.272 MB / 0.6992 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1484, allocations: 0.6147 MB / 0.6998 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.1485, allocations: 1.281 kB / 0.6998 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.1485, allocations: 0 / 0.6998 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.1486, allocations: 7.938 kB / 0.6998 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.1491, allocations: 152.8 kB / 0.7 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.693e-05/0.1492, allocations: 21.05 kB / 0.7 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.1493, allocations: 1.375 kB / 0.7 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.1493, allocations: 8.109 kB / 0.7 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.1493, allocations: 12.06 kB / 0.7 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1494, allocations: 1.375 kB / 0.7 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005529/0.1499, allocations: 344.9 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1499, allocations: 5.375 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.15, allocations: 12.06 kB / 0.7003 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.1502, allocations: 150.2 kB / 0.7005 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1502, allocations: 0 / 0.7005 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1502, allocations: 0 / 0.7005 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.1503, allocations: 1.375 kB / 0.7005 GB, free: 11.71 MB / 0.5137 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.0006034/0.1509, allocations: 362.1 kB / 0.7008 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1509, allocations: 15.28 kB / 0.7008 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.278e-05/0.1509, allocations: 1.562 kB / 0.7008 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.151, allocations: 34.75 kB / 0.7009 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.151, allocations: 3.688 kB / 0.7009 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1511, allocations: 165.7 kB / 0.701 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1512, allocations: 384 / 0.701 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1512, allocations: 10.69 kB / 0.7011 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1513, allocations: 39.12 kB / 0.7011 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1513, allocations: 1.375 kB / 0.7011 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1513, allocations: 4 kB / 0.7011 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1514, allocations: 0 / 0.7011 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.1514, allocations: 10.86 kB / 0.7011 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.1516, allocations: 159.2 kB / 0.7013 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.1519, allocations: 47 kB / 0.7013 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.152, allocations: 19.67 kB / 0.7013 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.152, allocations: 0 / 0.7013 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.152, allocations: 31.94 kB / 0.7014 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.152, allocations: 3.938 kB / 0.7014 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0007866/0.1528, allocations: 311.8 kB / 0.7017 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.1529, allocations: 52.31 kB / 0.7017 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.1529, allocations: 102.7 kB / 0.7018 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.153, allocations: 29.7 kB / 0.7018 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.153, allocations: 81.23 kB / 0.7019 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.1531, allocations: 26.22 kB / 0.7019 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.1531, allocations: 19.53 kB / 0.702 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1533, allocations: 318.8 kB / 0.7023 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.1533, allocations: 10.66 kB / 0.7023 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.1533, allocations: 11.77 kB / 0.7023 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.1534, allocations: 47.48 kB / 0.7023 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1534, allocations: 0 / 0.7023 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001047/0.1535, allocations: 60.28 kB / 0.7024 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1535, allocations: 5.5 kB / 0.7024 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1535, allocations: 0 / 0.7024 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1535, allocations: 5.234 kB / 0.7024 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.1536, allocations: 17.38 kB / 0.7024 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1536, allocations: 1.125 kB / 0.7024 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.1536, allocations: 0 / 0.7024 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1536, allocations: 1.969 kB / 0.7024 GB, free: 9.676 MB / 0.5137 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 0.000108/0.1537, allocations: 120.9 kB / 0.7025 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.1538, allocations: 1.281 kB / 0.7025 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.1539, allocations: 70.64 kB / 0.7026 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1539, allocations: 1.562 kB / 0.7026 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1539, allocations: 4 kB / 0.7026 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1539, allocations: 0 / 0.7026 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.1543, allocations: 313 kB / 0.7029 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1543, allocations: 4 kB / 0.7029 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.1544, allocations: 14.33 kB / 0.7029 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1544, allocations: 1.219 kB / 0.7029 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1544, allocations: 1.344 kB / 0.7029 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1544, allocations: 0 / 0.7029 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1544, allocations: 1.281 kB / 0.7029 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1546, allocations: 189.8 kB / 0.7031 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.1547, allocations: 83.3 kB / 0.7032 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1547, allocations: 1.094 kB / 0.7032 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1548, allocations: 1.188 kB / 0.7032 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.1548, allocations: 10.58 kB / 0.7032 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1548, allocations: 6.625 kB / 0.7032 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.1549, allocations: 85.69 kB / 0.7033 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1549, allocations: 0 / 0.7033 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002621/0.1551, allocations: 27.47 kB / 0.7033 GB, free: 8.758 MB / 0.5137 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 () * 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.0006546/0.1558, allocations: 0.7335 MB / 0.704 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.1559, allocations: 31.2 kB / 0.704 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1559, allocations: 0 / 0.704 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.156, allocations: 19.16 kB / 0.7041 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.1562, allocations: 14.73 kB / 0.7041 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.1577, allocations: 1.324 MB / 0.7054 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1581, allocations: 0.6845 MB / 0.706 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.1581, allocations: 10.7 kB / 0.7061 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.1582, allocations: 15.56 kB / 0.7061 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1582, allocations: 0 / 0.7061 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.1807, allocations: 1.645 MB / 0.7077 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.259, allocations: 7.75 kB / 0.7077 GB, free: 4.684 MB / 0.5137 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.929109973018058] Failed to read output from testmodel.py, exit status != 0: 8.648750749998726 8.406799131 8.252388836 Calling exit ...