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.000774/0.000774, allocations: 96.36 kB / 19.7 MB, free: 456 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.0008494/0.0008494, allocations: 211.5 kB / 23 MB, free: 2.969 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.9422/0.9422, allocations: 230.6 MB / 256.8 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.7637/0.7637, allocations: 203.8 MB / 0.5049 GB, free: 10.45 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [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.0009005/0.0009005, allocations: 60.91 kB / 0.7194 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5617, allocations: 102 MB / 0.819 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001823/0.5635, allocations: 1.28 MB / 0.8203 GB, free: 436 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.5643, allocations: 0.5378 MB / 0.8208 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.5643, allocations: 0 / 0.8208 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.5643, allocations: 0.5625 kB / 0.8208 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.5644, allocations: 9.594 kB / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.5649, allocations: 149.2 kB / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.848e-05/0.5649, allocations: 15.98 kB / 0.821 GB, free: 16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.565, allocations: 11.66 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.76e-05/0.565, allocations: 4.906 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.5651, allocations: 9.078 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.5651, allocations: 0 / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.5655, allocations: 268.7 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.5655, allocations: 9.969 kB / 0.8213 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.5655, allocations: 12.55 kB / 0.8213 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.5657, allocations: 134.9 kB / 0.8214 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5657, allocations: 0 / 0.8214 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5657, allocations: 5.688 kB / 0.8214 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.5658, allocations: 0 / 0.8214 GB, free: 15.87 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.0003899/0.5661, allocations: 288.9 kB / 0.8217 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5662, allocations: 12.06 kB / 0.8217 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.5662, allocations: 0.9375 kB / 0.8217 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/0.5663, allocations: 108.9 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.5663, allocations: 9.078 kB / 0.8218 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.5664, allocations: 3.062 kB / 0.8218 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5665, allocations: 70.09 kB / 0.8219 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5665, allocations: 0.8438 kB / 0.8219 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5665, allocations: 3.938 kB / 0.8219 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5665, allocations: 2 kB / 0.8219 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.5665, allocations: 7.828 kB / 0.8219 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.5667, allocations: 107.7 kB / 0.822 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.5669, allocations: 43.89 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.5669, allocations: 18.22 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.5669, allocations: 4 kB / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.5669, allocations: 35.09 kB / 0.8221 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.5669, allocations: 3.125 kB / 0.8221 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005464/0.5675, allocations: 239.5 kB / 0.8223 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.5675, allocations: 52.88 kB / 0.8224 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.5676, allocations: 95.36 kB / 0.8225 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5676, allocations: 31.11 kB / 0.8225 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.5676, allocations: 84.92 kB / 0.8226 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.5676, allocations: 16.14 kB / 0.8226 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.5677, allocations: 20.91 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.5678, allocations: 322.5 kB / 0.8229 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.5678, allocations: 11.44 kB / 0.8229 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.5678, allocations: 9.266 kB / 0.8229 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.5679, allocations: 36.38 kB / 0.823 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5679, allocations: 3.938 kB / 0.823 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.634e-05/0.5679, allocations: 67.14 kB / 0.823 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.568, allocations: 6.422 kB / 0.823 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.568, allocations: 3.938 kB / 0.823 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.568, allocations: 1.438 kB / 0.823 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.764e-05/0.568, allocations: 15.86 kB / 0.8231 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.568, allocations: 0 / 0.8231 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.081e-05/0.568, allocations: 5.594 kB / 0.8231 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.568, allocations: 1.594 kB / 0.8231 GB, free: 14.23 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 6.241e-05/0.5681, allocations: 121.7 kB / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-06/0.5681, allocations: 1.219 kB / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.5682, allocations: 73.75 kB / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5682, allocations: 1.438 kB / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5682, allocations: 0 / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5682, allocations: 2.328 kB / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.5685, allocations: 259.3 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5685, allocations: 10.06 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.5685, allocations: 10.2 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.5685, allocations: 2.812 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.5686, allocations: 6.25 kB / 0.8235 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5686, allocations: 0 / 0.8235 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.5686, allocations: 0 / 0.8235 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.5687, allocations: 182.5 kB / 0.8237 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.5687, allocations: 8.969 kB / 0.8237 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.5687, allocations: 6.656 kB / 0.8237 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.5688, allocations: 1.156 kB / 0.8237 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.5688, allocations: 3.719 kB / 0.8237 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.5688, allocations: 7.156 kB / 0.8237 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.5688, allocations: 78.97 kB / 0.8238 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5688, allocations: 0 / 0.8238 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000165/0.569, allocations: 27.44 kB / 0.8238 GB, free: 13.52 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.0003392/0.5693, allocations: 117.2 kB / 0.824 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.5694, allocations: 38.97 kB / 0.824 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.5694, allocations: 0 / 0.824 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.5695, allocations: 24.48 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.5696, allocations: 11.88 kB / 0.824 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.57, allocations: 213.6 kB / 0.8242 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.869e-05/0.5701, allocations: 68.67 kB / 0.8243 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.5701, allocations: 21.44 kB / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.5701, allocations: 0 / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.002132/0.5722, allocations: 0.8022 MB / 0.8251 GB, free: 13.04 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.882566228043288] Failed to read output from testmodel.py, exit status != 0: 0.5780912209302187 0.59087591 0.022618062 Calling exit ...