Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008066/0.0008066, allocations: 96.38 kB / 19.7 MB, free: 452 kB / 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.0008688/0.0008688, allocations: 212.7 kB / 23 MB, free: 2.988 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.958/0.958, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.8038/0.8038, allocations: 203.8 MB / 0.5049 GB, free: 10.48 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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [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.0009508/0.0009508, allocations: 63.38 kB / 0.7194 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.5584, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001751/0.5602, allocations: 1.483 MB / 0.8205 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007413/0.5609, allocations: 0.5553 MB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.5609, allocations: 0 / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.561, allocations: 9.047 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.561, allocations: 11.36 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.5615, allocations: 154.8 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.5615, allocations: 56.69 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.5616, allocations: 14.98 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.5616, allocations: 25.5 kB / 0.8213 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.5617, allocations: 21.56 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.5617, allocations: 4.312 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.562, allocations: 275.1 kB / 0.8216 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.562, allocations: 13 kB / 0.8216 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.562, allocations: 25.95 kB / 0.8216 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.5623, allocations: 167.5 kB / 0.8218 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5623, allocations: 0 / 0.8218 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5623, allocations: 0 / 0.8218 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.5623, allocations: 0 / 0.8218 GB, free: 15.68 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004281/0.5627, allocations: 332 kB / 0.8221 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.5627, allocations: 10.38 kB / 0.8221 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.5628, allocations: 3.469 kB / 0.8221 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.359e-05/0.5628, allocations: 117.5 kB / 0.8222 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.5629, allocations: 6.453 kB / 0.8222 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.5629, allocations: 8.656 kB / 0.8222 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.5631, allocations: 128.4 kB / 0.8223 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5631, allocations: 192 / 0.8223 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5631, allocations: 13.53 kB / 0.8223 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5631, allocations: 5.531 kB / 0.8224 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.5632, allocations: 47.22 kB / 0.8224 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.5636, allocations: 253.1 kB / 0.8226 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.5637, allocations: 86.45 kB / 0.8227 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.5638, allocations: 27.81 kB / 0.8227 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.5638, allocations: 5.125 kB / 0.8228 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.5638, allocations: 32.84 kB / 0.8228 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5638, allocations: 0 / 0.8228 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009355/0.5648, allocations: 0.4967 MB / 0.8233 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.5648, allocations: 51.41 kB / 0.8233 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.089e-05/0.5648, allocations: 97.81 kB / 0.8234 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.5649, allocations: 33.08 kB / 0.8234 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.479e-05/0.5649, allocations: 93.56 kB / 0.8235 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.5649, allocations: 43.27 kB / 0.8236 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.565, allocations: 29.89 kB / 0.8236 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.565, allocations: 319.5 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.5651, allocations: 35.38 kB / 0.8239 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.5652, allocations: 37.31 kB / 0.824 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.5653, allocations: 72.41 kB / 0.824 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5653, allocations: 0 / 0.824 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001688/0.5655, allocations: 113.6 kB / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5655, allocations: 7.906 kB / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5655, allocations: 0.75 kB / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5655, allocations: 1.406 kB / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.5656, allocations: 29.73 kB / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5656, allocations: 4 kB / 0.8242 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.5656, allocations: 9.688 kB / 0.8242 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5656, allocations: 7.797 kB / 0.8242 GB, free: 13.66 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 5.209e-05/0.5657, allocations: 113.8 kB / 0.8243 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.5657, allocations: 8.75 kB / 0.8243 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.5659, allocations: 130.3 kB / 0.8245 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5659, allocations: 1.438 kB / 0.8245 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5659, allocations: 4.891 kB / 0.8245 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5659, allocations: 4.656 kB / 0.8245 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.5662, allocations: 324.9 kB / 0.8248 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5662, allocations: 1.156 kB / 0.8248 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.5663, allocations: 28.94 kB / 0.8248 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5663, allocations: 0 / 0.8248 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.5663, allocations: 2.969 kB / 0.8248 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5663, allocations: 4.5 kB / 0.8248 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5663, allocations: 4.938 kB / 0.8248 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.5666, allocations: 249.8 kB / 0.8251 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.5666, allocations: 7.172 kB / 0.8251 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.5667, allocations: 5.5 kB / 0.8251 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.5667, allocations: 10.14 kB / 0.8251 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.5667, allocations: 11.78 kB / 0.8251 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.5667, allocations: 3.109 kB / 0.8251 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.685e-05/0.5668, allocations: 84.02 kB / 0.8252 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5668, allocations: 3.938 kB / 0.8252 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000173/0.5669, allocations: 39.59 kB / 0.8252 GB, free: 12.9 MB / 0.6198 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.000141/0.5671, allocations: 134.9 kB / 0.8253 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.5673, allocations: 79.28 kB / 0.8254 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5673, allocations: 0 / 0.8254 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.5674, allocations: 40.83 kB / 0.8255 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.5675, allocations: 9.422 kB / 0.8255 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.568, allocations: 351.6 kB / 0.8258 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.748e-05/0.5681, allocations: 74.91 kB / 0.8259 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.5681, allocations: 19.83 kB / 0.8259 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.5681, allocations: 0 / 0.8259 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.002334/0.5704, allocations: 1.341 MB / 0.8272 GB, free: 12.28 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.869952317792922] Failed to read output from testmodel.py, exit status != 0: 0.5763547290116549 0.585439039 0.021204934 Calling exit ...