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.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.0008405/0.0008405, 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.0008169/0.0008169, allocations: 169.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.8825/0.8825, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7085/0.7085, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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_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 1.623e-06/1.623e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.273e-05, allocations: 4.812 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001625/0.001648, allocations: 1.286 MB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.002418, allocations: 0.5487 MB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.002444, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.002464, allocations: 3.938 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.0025, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.002957, allocations: 154.7 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.003024, allocations: 23.92 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.003067, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.003122, allocations: 15.92 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.003169, allocations: 7.984 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.003185, allocations: 4 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.003452, allocations: 267.4 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.003467, allocations: 0 / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.003484, allocations: 4 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.003683, allocations: 155.5 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.003687, allocations: 8 kB / 0.6205 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.402e-06/0.003689, allocations: 0 / 0.6205 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.003694, allocations: 3.984 kB / 0.6205 GB, free: 11.28 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003341/0.004028, allocations: 284.4 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.004068, allocations: 9.469 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.821e-05/0.004097, allocations: 30.75 kB / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.004123, allocations: 8.891 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.004204, allocations: 113.7 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.004216, allocations: 4.375 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.004235, allocations: 384 / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.004353, allocations: 67.95 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.004361, allocations: 4.188 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.00437, allocations: 384 / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.004376, allocations: 8.062 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.457e-05/0.004411, allocations: 12 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.004542, allocations: 132.7 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.004714, allocations: 42.56 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.00474, allocations: 16.86 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.004757, allocations: 0 / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.004777, allocations: 34.66 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.004778, allocations: 3.938 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004974/0.005275, allocations: 229.2 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.005305, allocations: 55.41 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.738e-05/0.005352, allocations: 93.86 kB / 0.6216 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005363, allocations: 29.7 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.005387, allocations: 84.08 kB / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.005414, allocations: 27.73 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.005439, allocations: 21.72 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.005511, allocations: 318.8 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.005528, allocations: 8 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.005543, allocations: 12 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/0.005589, allocations: 40.98 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.00559, allocations: 0 / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.175e-05/0.005652, allocations: 65.62 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.005664, allocations: 8 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005669, allocations: 3.984 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.00568, allocations: 3.938 kB / 0.6222 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.539e-05/0.005715, allocations: 12.06 kB / 0.6222 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.005721, allocations: 0 / 0.6222 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.005733, allocations: 8.516 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.005737, allocations: 0 / 0.6222 GB, free: 9.293 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 (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.172e-05/0.005789, allocations: 114.8 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-06/0.005794, allocations: 0 / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.679e-05/0.005891, allocations: 77.73 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.005894, allocations: 7.938 kB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.005898, allocations: 3.984 kB / 0.6224 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.005901, allocations: 0 / 0.6224 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.006126, allocations: 282.5 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.006128, allocations: 3.938 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.006165, allocations: 12 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.006166, allocations: 0 / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.006172, allocations: 7.969 kB / 0.6227 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.006174, allocations: 4 kB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006175, allocations: 0 / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.006301, allocations: 176.3 kB / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.006317, allocations: 11.95 kB / 0.6228 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.006326, allocations: 0 / 0.6228 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.006367, allocations: 4 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.006381, allocations: 4 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.006385, allocations: 4.188 kB / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.397e-05/0.006409, allocations: 83.27 kB / 0.6229 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006409, allocations: 0 / 0.6229 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001582/0.006567, allocations: 20 kB / 0.623 GB, free: 8.402 MB / 0.5886 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.0003449/0.006912, allocations: 0.7443 MB / 0.6237 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.006996, allocations: 31.97 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006998, allocations: 0 / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.007014, allocations: 19.94 kB / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.007168, allocations: 7.938 kB / 0.6237 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.008184, allocations: 1.302 MB / 0.625 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.008222, allocations: 63.34 kB / 0.6251 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.008243, allocations: 12.28 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.008271, allocations: 20.55 kB / 0.6251 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.008272, allocations: 4 kB / 0.6251 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.02406, allocations: 2.254 MB / 0.6273 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.405, allocations: 6.719 kB / 0.6273 GB, free: 4.023 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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: 10.12430080678314] Failed to read output from testmodel.py, exit status != 0: 7.487929266877472 7.496567245 7.490897376 Calling exit ...