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.00117/0.00117, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009842/0.0009842, allocations: 213.8 kB / 22.26 MB, free: 3.707 MB / 13.93 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.9619/0.9619, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.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.7931/0.7931, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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: 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.00127/0.00127, allocations: 71.55 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4832, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001603/0.4848, allocations: 1.308 MB / 0.8191 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.4855, allocations: 0.6101 MB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.4855, allocations: 4 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.4855, allocations: 4.688 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.4856, allocations: 8.578 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.486, allocations: 140.1 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.486, allocations: 21.16 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.4861, allocations: 0.5625 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.4861, allocations: 9.984 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.4862, allocations: 15.45 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.4862, allocations: 4 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.4866, allocations: 341.7 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.4866, allocations: 2.547 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.4866, allocations: 12.23 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.4868, allocations: 150.2 kB / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.4868, allocations: 0 / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4868, allocations: 0 / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4868, allocations: 2.312 kB / 0.8204 GB, free: 15.66 MB / 0.6198 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.0003378/0.4872, allocations: 283.6 kB / 0.8207 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4872, allocations: 9.062 kB / 0.8207 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.4872, allocations: 35.41 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.4873, allocations: 8.5 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.104e-05/0.4873, allocations: 107.7 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.4873, allocations: 6.312 kB / 0.8209 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.4874, allocations: 3.281 kB / 0.8209 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.593e-05/0.4875, allocations: 49.05 kB / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4875, allocations: 3.938 kB / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4875, allocations: 0.6094 kB / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4875, allocations: 0 / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.34e-05/0.4875, allocations: 17.11 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.4876, allocations: 128.8 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.4878, allocations: 39.53 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.4878, allocations: 16.88 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.4878, allocations: 0.6562 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.4878, allocations: 40.75 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.4878, allocations: 4 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.000454/0.4883, allocations: 231.6 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4883, allocations: 59.94 kB / 0.8214 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.45e-05/0.4884, allocations: 98.12 kB / 0.8215 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.4884, allocations: 26.36 kB / 0.8215 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.4884, allocations: 84.14 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.4884, allocations: 19.89 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.4885, allocations: 24.64 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.4885, allocations: 314.4 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.4886, allocations: 10.8 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.4886, allocations: 12.81 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.4886, allocations: 33.22 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.4886, allocations: 0 / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.844e-05/0.4887, allocations: 80.77 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.4887, allocations: 3.938 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4887, allocations: 3.594 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.4887, allocations: 4 kB / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.59e-05/0.4887, allocations: 9.625 kB / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4887, allocations: 2.562 kB / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.078e-05/0.4888, allocations: 0.8906 kB / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.4888, allocations: 0 / 0.8221 GB, free: 13.97 MB / 0.6198 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.022e-05/0.4888, allocations: 121 kB / 0.8222 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-06/0.4888, allocations: 11.34 kB / 0.8222 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.252e-05/0.4889, allocations: 67.16 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4889, allocations: 3.797 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.4889, allocations: 4 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4889, allocations: 0.6562 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.4891, allocations: 288.4 kB / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4891, allocations: 3.938 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.4892, allocations: 11.36 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4892, allocations: 0.7969 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.4892, allocations: 3 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4892, allocations: 0 / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4892, allocations: 4.547 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.4893, allocations: 191.8 kB / 0.8228 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.4893, allocations: 5.453 kB / 0.8228 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.4894, allocations: 1.672 kB / 0.8228 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.4894, allocations: 5.547 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.4894, allocations: 7.938 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.4894, allocations: 4.266 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.09e-05/0.4894, allocations: 82.59 kB / 0.8229 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4894, allocations: 0 / 0.8229 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001539/0.4896, allocations: 22.47 kB / 0.8229 GB, free: 13.22 MB / 0.6198 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.0003207/0.4899, allocations: 0.7402 MB / 0.8236 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.695e-05/0.49, allocations: 30.7 kB / 0.8237 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.49, allocations: 0 / 0.8237 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.49, allocations: 19.45 kB / 0.8237 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.4902, allocations: 5.391 kB / 0.8237 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.4909, allocations: 1.316 MB / 0.825 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.4914, allocations: 0.679 MB / 0.8256 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.4914, allocations: 4.969 kB / 0.8256 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.4914, allocations: 11.94 kB / 0.8257 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.4914, allocations: 4 kB / 0.8257 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.5065, allocations: 1.729 MB / 0.8274 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/7.102, allocations: 6 kB / 0.8274 GB, free: 10.11 MB / 0.6198 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.191839825827628] Failed to read output from testmodel.py, exit status != 0: 7.179579579969868 7.19076771 6.701902648 Calling exit ...