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/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.00082/0.00082, 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.0007782/0.0007782, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8997/0.8997, allocations: 177.1 MB / 202.7 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.7261/0.7261, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.184e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002009/0.002031, allocations: 1.474 MB / 0.6195 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.002957, allocations: 0.5681 MB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.002992, allocations: 0 / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.003023, allocations: 3.938 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.003071, allocations: 15.86 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.003633, allocations: 159 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.003719, allocations: 55.72 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.003772, allocations: 11.97 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.003852, allocations: 23.98 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.003896, allocations: 27.89 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.003914, allocations: 4 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.004219, allocations: 263.5 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.004249, allocations: 19.91 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.004283, allocations: 19.97 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.00455, allocations: 195.3 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004552, allocations: 0 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004554, allocations: 0 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.004559, allocations: 0 / 0.6209 GB, free: 10.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004994/0.005058, allocations: 325.8 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.005103, allocations: 12.03 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.005143, allocations: 34.75 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.005175, allocations: 8.891 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.957e-05/0.005275, allocations: 109.8 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.005304, allocations: 4.375 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.005328, allocations: 16.36 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.005556, allocations: 136.3 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.00557, allocations: 192 / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.005583, allocations: 4.375 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.005591, allocations: 8.125 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.005722, allocations: 47.95 kB / 0.6215 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.006182, allocations: 283.7 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.006355, allocations: 78.53 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.00642, allocations: 24.84 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.006444, allocations: 7.922 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.006473, allocations: 38.56 kB / 0.6219 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.006475, allocations: 0 / 0.6219 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.000992/0.007467, allocations: 0.4957 MB / 0.6224 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.007498, allocations: 55.39 kB / 0.6225 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.465e-05/0.007553, allocations: 101.8 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.007565, allocations: 29.7 kB / 0.6226 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.007601, allocations: 92.06 kB / 0.6227 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.00763, allocations: 43.58 kB / 0.6227 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.007667, allocations: 37.7 kB / 0.6228 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.00775, allocations: 318.8 kB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.007819, allocations: 31.98 kB / 0.6231 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.323e-05/0.007882, allocations: 35.97 kB / 0.6231 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.008013, allocations: 64.83 kB / 0.6232 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.008014, allocations: 0 / 0.6232 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001818/0.008196, allocations: 125 kB / 0.6233 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.008209, allocations: 8 kB / 0.6233 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.008215, allocations: 0 / 0.6233 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.008226, allocations: 3.938 kB / 0.6233 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.008322, allocations: 31.98 kB / 0.6234 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.008329, allocations: 4 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.00836, allocations: 7.984 kB / 0.6234 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.008366, allocations: 0 / 0.6234 GB, free: 7.863 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 7.199e-05/0.008438, allocations: 118.8 kB / 0.6235 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.008456, allocations: 4 kB / 0.6235 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.008669, allocations: 133.6 kB / 0.6236 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.008674, allocations: 8.172 kB / 0.6236 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.008678, allocations: 0 / 0.6236 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.008684, allocations: 3.984 kB / 0.6236 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.009042, allocations: 345.6 kB / 0.624 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.009044, allocations: 0 / 0.624 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/0.009125, allocations: 27.92 kB / 0.624 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.009129, allocations: 0 / 0.624 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.009138, allocations: 4 kB / 0.624 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.009142, allocations: 4 kB / 0.624 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.009147, allocations: 8.016 kB / 0.624 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.009472, allocations: 251.3 kB / 0.6242 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.009481, allocations: 4.031 kB / 0.6242 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.009496, allocations: 0 / 0.6242 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/0.009557, allocations: 8 kB / 0.6243 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.00958, allocations: 11.92 kB / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.009589, allocations: 12 kB / 0.6243 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.009622, allocations: 79.27 kB / 0.6244 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.009622, allocations: 0 / 0.6244 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002215/0.009844, allocations: 39.88 kB / 0.6244 GB, free: 6.742 MB / 0.5886 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 () * 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.000598/0.01044, allocations: 0.8169 MB / 0.6252 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.01064, allocations: 75.89 kB / 0.6253 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01064, allocations: 4.062 kB / 0.6253 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7e-05/0.01071, allocations: 51.84 kB / 0.6253 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.01092, allocations: 12.02 kB / 0.6253 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.01227, allocations: 1.548 MB / 0.6268 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.884e-05/0.01233, allocations: 83.27 kB / 0.6269 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.884e-05/0.01237, allocations: 8.719 kB / 0.6269 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.01241, allocations: 28.5 kB / 0.627 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of SimCode: time 8.11e-07/0.01241, allocations: 4 kB / 0.627 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.03028, allocations: 2.988 MB / 0.6299 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.17, allocations: 8.531 kB / 0.6299 GB, free: 1.23 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.028118530288339] Failed to read output from testmodel.py, exit status != 0: 7.246986182406545 7.25538539 7.249065569 Calling exit ...