Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008476/0.0008476, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000895/0.000895, allocations: 207.6 kB / 22.25 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.9067/0.9067, allocations: 230.6 MB / 256 MB, free: 9.613 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.7509/0.7509, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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_dp_DerivativeCheck2,fileNamePrefix="IDEAS_dev_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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.001305/0.001305, allocations: 65.94 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4643, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00185/0.4662, allocations: 1.294 MB / 0.8191 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.467, allocations: 0.5521 MB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.4671, allocations: 0 / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.4671, allocations: 3.938 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.4671, allocations: 0.6562 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.4677, allocations: 145.7 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.4678, allocations: 29.7 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.256e-05/0.4678, allocations: 3.984 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.4678, allocations: 18.73 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.4679, allocations: 11.08 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.4679, allocations: 6.281 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.4683, allocations: 270.5 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.4683, allocations: 9.047 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.4683, allocations: 9.812 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.4686, allocations: 143.1 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.4686, allocations: 0 / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.436e-06/0.4686, allocations: 0 / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.4686, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000368/0.469, allocations: 298.2 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.469, allocations: 13.38 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.469, allocations: 32.8 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.4691, allocations: 3.625 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.4691, allocations: 112.6 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.4692, allocations: 8.359 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.4692, allocations: 1.938 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.4693, allocations: 103.2 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4693, allocations: 4.734 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4693, allocations: 1.156 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.4693, allocations: 5.406 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.4694, allocations: 21.75 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.4695, allocations: 132.7 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.4696, allocations: 60.59 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.4696, allocations: 26.89 kB / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.4697, allocations: 0.6562 kB / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.4697, allocations: 36.97 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.4697, allocations: 3.938 kB / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008216/0.4705, allocations: 455.9 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4705, allocations: 54.22 kB / 0.8215 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.827e-05/0.4706, allocations: 96.39 kB / 0.8216 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.4706, allocations: 29.7 kB / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.4706, allocations: 80.84 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.4707, allocations: 34.59 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.4707, allocations: 31.91 kB / 0.8218 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.4708, allocations: 319.7 kB / 0.8221 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/0.4708, allocations: 19.33 kB / 0.8221 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.4709, allocations: 22.55 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.746e-05/0.4709, allocations: 65.31 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4709, allocations: 0 / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001226/0.4711, allocations: 106.4 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4711, allocations: 9.906 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4711, allocations: 0 / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4711, allocations: 0.5156 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.4712, allocations: 21.19 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4712, allocations: 0.5156 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.4712, allocations: 5.062 kB / 0.8224 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4712, allocations: 3.891 kB / 0.8224 GB, free: 13.61 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 (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.309e-05/0.4713, allocations: 122 kB / 0.8225 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.4713, allocations: 6 kB / 0.8225 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.4714, allocations: 105.9 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4714, allocations: 4.469 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4715, allocations: 1.125 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4715, allocations: 0 / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.4718, allocations: 330.8 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4718, allocations: 1.031 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.4719, allocations: 22 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4719, allocations: 0 / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.4719, allocations: 4.797 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4719, allocations: 2.281 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4719, allocations: 0 / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.4721, allocations: 222.9 kB / 0.8231 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.4721, allocations: 5.156 kB / 0.8231 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.4721, allocations: 0 / 0.8231 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.4722, allocations: 5.5 kB / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.4722, allocations: 7.406 kB / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.4722, allocations: 4.703 kB / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.402e-05/0.4722, allocations: 80.09 kB / 0.8232 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4722, allocations: 4.156 kB / 0.8232 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001804/0.4724, allocations: 33.58 kB / 0.8233 GB, free: 12.84 MB / 0.6198 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.000429/0.4728, allocations: 0.7858 MB / 0.824 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.4729, allocations: 54.59 kB / 0.8241 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4729, allocations: 1.062 kB / 0.8241 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/0.473, allocations: 31.55 kB / 0.8241 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.4731, allocations: 9.344 kB / 0.8241 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.4742, allocations: 1.52 MB / 0.8256 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.4742, allocations: 67.77 kB / 0.8257 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.4742, allocations: 12.34 kB / 0.8257 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.4743, allocations: 18.02 kB / 0.8257 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.4743, allocations: 0 / 0.8257 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.49, allocations: 2.549 MB / 0.8282 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/7.33, allocations: 10.17 kB / 0.8282 GB, free: 9.77 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.097578700166196] Failed to read output from testmodel.py, exit status != 0: 7.407641134690493 7.4198702260000005 6.949111303 Calling exit ...