Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.000905/0.000905, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 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.0009518/0.0009518, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9157/0.9157, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7207/0.7207, allocations: 154.5 MB / 413.7 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_DerivativeCheck2,fileNamePrefix="IDEAS_dev_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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.514e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001635/0.00165, allocations: 1.294 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.002477, allocations: 0.5487 MB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.002507, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.002527, allocations: 3.938 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.002565, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.003083, allocations: 154.5 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.003152, allocations: 27.92 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.003203, allocations: 4 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.003251, allocations: 23.91 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.003316, allocations: 11.98 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.003333, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.003639, allocations: 263.4 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.003658, allocations: 15.97 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.003678, allocations: 4 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.003893, allocations: 175.4 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003895, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.143e-06/0.003897, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.003902, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 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.0003632/0.004265, allocations: 296.7 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.00431, allocations: 9.469 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.004344, allocations: 38.75 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.004374, allocations: 8.891 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.692e-05/0.004461, allocations: 109.7 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004471, allocations: 384 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.004495, allocations: 8.375 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.004627, allocations: 105.6 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.004638, allocations: 192 / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.004648, allocations: 4.375 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004653, allocations: 8.125 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.004702, allocations: 19.98 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.004855, allocations: 124.8 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.004957, allocations: 58.55 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.004992, allocations: 24.86 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.00502, allocations: 7.938 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.005046, allocations: 34.56 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.005047, allocations: 0 / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0008565/0.005903, allocations: 455.4 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.005932, allocations: 55.41 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/0.005985, allocations: 101.8 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.005997, allocations: 25.7 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.006025, allocations: 84.14 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.006058, allocations: 39.64 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.00609, allocations: 25.72 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.006164, allocations: 318.8 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.006192, allocations: 20 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.006218, allocations: 28.11 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.006284, allocations: 52.86 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.006285, allocations: 4 kB / 0.6225 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.331e-05/0.006378, allocations: 101.6 kB / 0.6226 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.006391, allocations: 7.938 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006395, allocations: 0 / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.006407, allocations: 0 / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.006483, allocations: 23.98 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.006488, allocations: 0 / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.006502, allocations: 0 / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.006508, allocations: 4 kB / 0.6226 GB, free: 8.801 MB / 0.5886 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 5.802e-05/0.006566, allocations: 126.7 kB / 0.6227 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.006577, allocations: 7.953 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.006709, allocations: 107.3 kB / 0.6228 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006711, allocations: 3.984 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.006715, allocations: 0 / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.006719, allocations: 0 / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.00703, allocations: 325.5 kB / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007031, allocations: 0 / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.007099, allocations: 20 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007101, allocations: 0 / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.007109, allocations: 8 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.00711, allocations: 0 / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.00711, allocations: 0 / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.00728, allocations: 222.5 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.007288, allocations: 11.92 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.0073, allocations: 4 kB / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.007345, allocations: 0 / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.007364, allocations: 7.984 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.007372, allocations: 8 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.007396, allocations: 79.36 kB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.007397, allocations: 8.094 kB / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001835/0.00758, allocations: 39.88 kB / 0.6235 GB, free: 7.762 MB / 0.5886 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.0004143/0.007994, allocations: 0.782 MB / 0.6243 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.008112, allocations: 55.92 kB / 0.6244 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.008114, allocations: 0 / 0.6244 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.008146, allocations: 35.92 kB / 0.6244 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.008305, allocations: 6.031 kB / 0.6244 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.009437, allocations: 1.454 MB / 0.6258 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.189e-05/0.009499, allocations: 80.27 kB / 0.6259 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.009533, allocations: 8 kB / 0.6259 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.009578, allocations: 20.48 kB / 0.6259 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.009579, allocations: 0 / 0.6259 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.0248, allocations: 2.697 MB / 0.6286 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/6.954, allocations: 24.17 kB / 0.6286 GB, free: 2.699 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.698849420063198] Failed to read output from testmodel.py, exit status != 0: 7.034127260558307 7.043389223 7.037852965 Calling exit ...