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.000785/0.000785, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001258/0.001258, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9552/0.9552, allocations: 230.6 MB / 256 MB, free: 9.59 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.7645/0.7645, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.0008565/0.0008565, allocations: 69.11 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4647, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001875/0.4666, allocations: 1.295 MB / 0.8191 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.4674, allocations: 0.5309 MB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.4675, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.4675, allocations: 0.6094 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.4675, allocations: 8.578 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.468, allocations: 150.3 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.4681, allocations: 16.91 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.4681, allocations: 4.703 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.4682, allocations: 14.55 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.4682, allocations: 9.906 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.4682, allocations: 0 / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.4686, allocations: 264.7 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.4686, allocations: 12.53 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.4686, allocations: 3.734 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.4689, allocations: 138.6 kB / 0.8202 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4689, allocations: 1.812 kB / 0.8202 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4689, allocations: 0 / 0.8202 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.4689, allocations: 3.938 kB / 0.8202 GB, free: 15.57 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.0004536/0.4693, allocations: 286.8 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4694, allocations: 7.344 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.4694, allocations: 41.3 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.4695, allocations: 3.562 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.968e-05/0.4696, allocations: 111.8 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4696, allocations: 3.531 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.4696, allocations: 4.312 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4697, allocations: 72.64 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4697, allocations: 3.938 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4698, allocations: 0.5156 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4698, allocations: 0 / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.4698, allocations: 11.78 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.47, allocations: 132.8 kB / 0.8208 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4702, allocations: 43.44 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.4702, allocations: 18.7 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.4703, allocations: 0 / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.4703, allocations: 37.17 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4703, allocations: 0 / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006084/0.4709, allocations: 237 kB / 0.8212 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.4709, allocations: 52.06 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.471, allocations: 102 kB / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.471, allocations: 26.45 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.471, allocations: 88.14 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.4711, allocations: 21.55 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.4711, allocations: 18.34 kB / 0.8215 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.4712, allocations: 315.8 kB / 0.8218 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.4712, allocations: 13.39 kB / 0.8218 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.4712, allocations: 12.86 kB / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.4713, allocations: 30.84 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4713, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.663e-05/0.4713, allocations: 74.44 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4714, allocations: 6.406 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4714, allocations: 4 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4714, allocations: 0 / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.555e-05/0.4714, allocations: 16.8 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4714, allocations: 0 / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.127e-05/0.4714, allocations: 3.406 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.4714, allocations: 0 / 0.8219 GB, free: 13.86 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.506e-05/0.4715, allocations: 121.4 kB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.4715, allocations: 8.484 kB / 0.822 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.4716, allocations: 70.56 kB / 0.8221 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4716, allocations: 1.594 kB / 0.8221 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4716, allocations: 7.938 kB / 0.8221 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4716, allocations: 0.7031 kB / 0.8221 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.4719, allocations: 289.5 kB / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4719, allocations: 192 / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.4719, allocations: 18.08 kB / 0.8224 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4719, allocations: 0 / 0.8224 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4719, allocations: 4.062 kB / 0.8224 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4719, allocations: 3.938 kB / 0.8224 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4719, allocations: 0 / 0.8224 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.4721, allocations: 181.4 kB / 0.8226 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.4721, allocations: 5.766 kB / 0.8226 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.4721, allocations: 4.609 kB / 0.8226 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.457e-05/0.4721, allocations: 6.031 kB / 0.8226 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.4722, allocations: 5.844 kB / 0.8226 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4722, allocations: 1.766 kB / 0.8226 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.474e-05/0.4722, allocations: 78.97 kB / 0.8227 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4722, allocations: 0 / 0.8227 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001705/0.4724, allocations: 24.25 kB / 0.8227 GB, free: 13.11 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.0003712/0.4727, allocations: 0.7292 MB / 0.8234 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.947e-05/0.4728, allocations: 37.83 kB / 0.8235 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4728, allocations: 0 / 0.8235 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/0.4728, allocations: 17.19 kB / 0.8235 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.473, allocations: 2.484 kB / 0.8235 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009549/0.474, allocations: 1.33 MB / 0.8248 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.324e-05/0.474, allocations: 66.47 kB / 0.8248 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.474, allocations: 10.12 kB / 0.8248 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.4741, allocations: 10.78 kB / 0.8249 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of SimCode: time 7.02e-07/0.4741, allocations: 0 / 0.8249 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.4901, allocations: 2.096 MB / 0.8269 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/7.099, allocations: 17.72 kB / 0.8269 GB, free: 10.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 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: 9.9311304227449] Failed to read output from testmodel.py, exit status != 0: 7.175266259815544 7.185654327 6.714669058 Calling exit ...