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.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.000861/0.000861, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000851/0.000851, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8577/0.8577, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6905/0.6905, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.538e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001945/0.001971, allocations: 1.292 MB / 0.6194 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007784/0.002749, allocations: 0.5448 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.002777, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.002795, allocations: 3.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.383e-05/0.002829, allocations: 7.922 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.003262, allocations: 153.8 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.945e-05/0.003321, allocations: 31.91 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.003367, allocations: 4 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.003405, allocations: 19.92 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.003456, allocations: 11.97 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.003471, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.003754, allocations: 271.4 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.003771, allocations: 7.984 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.003793, allocations: 11.98 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.003999, allocations: 159.5 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.004003, allocations: 3.984 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/0.004005, allocations: 4 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.00401, allocations: 4 kB / 0.6206 GB, free: 11.14 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.0003453/0.004355, allocations: 278 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.004399, allocations: 12.03 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.004429, allocations: 38.73 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.004458, allocations: 8.891 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.631e-05/0.004534, allocations: 109.7 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.004547, allocations: 4.375 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.004573, allocations: 12.31 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.004704, allocations: 93.66 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.004715, allocations: 4.188 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.004728, allocations: 8.375 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.004736, allocations: 8.109 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.004781, allocations: 16 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.004923, allocations: 132.7 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.00502, allocations: 58.5 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.005052, allocations: 28.84 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.005074, allocations: 3.984 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.005096, allocations: 34.56 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.005098, allocations: 0 / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0008356/0.005934, allocations: 463.3 kB / 0.6218 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.005965, allocations: 51.41 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.006019, allocations: 101.8 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.00603, allocations: 25.7 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.006051, allocations: 84.14 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.006086, allocations: 39.66 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.006122, allocations: 29.7 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.006193, allocations: 315 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.006226, allocations: 27.98 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.006255, allocations: 27.92 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.006324, allocations: 55.86 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006325, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001056/0.00643, allocations: 93.67 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.006447, allocations: 7.938 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.006454, allocations: 4 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.00647, allocations: 0 / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.006552, allocations: 19.94 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.006559, allocations: 3.984 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.006573, allocations: 8 kB / 0.6227 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006579, allocations: 0 / 0.6227 GB, free: 8.723 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 6.361e-05/0.006642, allocations: 114.8 kB / 0.6228 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.006653, allocations: 7.953 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.006797, allocations: 105.7 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.0068, allocations: 4 kB / 0.6229 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.006804, allocations: 0 / 0.6229 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.006809, allocations: 7.922 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.007118, allocations: 317.6 kB / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007119, allocations: 0 / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.00719, allocations: 23.98 kB / 0.6232 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007192, allocations: 0 / 0.6232 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.007201, allocations: 8 kB / 0.6232 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007202, allocations: 3.938 kB / 0.6232 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007203, allocations: 0 / 0.6232 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.007372, allocations: 219.4 kB / 0.6234 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.007379, allocations: 3.953 kB / 0.6234 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.007391, allocations: 4 kB / 0.6235 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.007442, allocations: 4 kB / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.007458, allocations: 7.984 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.007468, allocations: 12.06 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.007493, allocations: 83.22 kB / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007493, allocations: 96 / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001949/0.007688, allocations: 43.8 kB / 0.6236 GB, free: 7.691 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.0004398/0.008128, allocations: 0.7709 MB / 0.6243 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.008252, allocations: 63.58 kB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.008253, allocations: 0 / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.008282, allocations: 27.98 kB / 0.6244 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.008447, allocations: 8.156 kB / 0.6244 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.009476, allocations: 1.474 MB / 0.6259 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.047e-05/0.009526, allocations: 72.27 kB / 0.626 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.009563, allocations: 15.88 kB / 0.626 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.0096, allocations: 20.48 kB / 0.626 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of SimCode: time 1.001e-06/0.009601, allocations: 0 / 0.626 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.02607, allocations: 2.705 MB / 0.6286 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.712, allocations: 15.69 kB / 0.6286 GB, free: 2.617 MB / 0.5886 GB " [Timeout remaining time 653] (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 --stepSize=0.0016 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.307102957740426] Failed to read output from testmodel.py, exit status != 0: 6.7916592210531235 6.8009156090000005 6.795198271 Calling exit ...