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.001434/0.001434, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001805/0.001805, allocations: 216.6 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 1.304/1.304, allocations: 203.8 MB / 0.5041 GB, free: 4.652 MB / 414.1 MB " [Timeout remaining time 178] 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.002044/0.002044, allocations: 75.81 kB / 0.7186 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5667, allocations: 102 MB / 0.8183 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002264/0.569, allocations: 1.301 MB / 0.8195 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0008998/0.5699, allocations: 0.5335 MB / 0.82 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.5699, allocations: 1.781 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.5699, allocations: 3.938 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 3.192e-05/0.5699, allocations: 1.25 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.5705, allocations: 155.4 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.388e-05/0.5705, allocations: 19.77 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.5706, allocations: 2.812 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.5706, allocations: 10.2 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.5707, allocations: 10.64 kB / 0.8202 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.5707, allocations: 0.75 kB / 0.8202 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.5711, allocations: 271.8 kB / 0.8205 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.5711, allocations: 3.109 kB / 0.8205 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.5712, allocations: 7.688 kB / 0.8205 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.5714, allocations: 137.4 kB / 0.8206 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5714, allocations: 0 / 0.8206 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5714, allocations: 5.109 kB / 0.8207 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5714, allocations: 3.938 kB / 0.8207 GB, free: 27.46 MB / 0.6387 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.0003689/0.5718, allocations: 287 kB / 0.8209 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5718, allocations: 10.62 kB / 0.8209 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.5719, allocations: 2.688 kB / 0.8209 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.17e-05/0.5719, allocations: 114.4 kB / 0.8211 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.572, allocations: 3.078 kB / 0.8211 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.572, allocations: 2.281 kB / 0.8211 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.5721, allocations: 65.08 kB / 0.8211 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5721, allocations: 2.844 kB / 0.8211 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.5721, allocations: 4.531 kB / 0.8211 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5721, allocations: 0.6562 kB / 0.8211 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.386e-05/0.5722, allocations: 15.78 kB / 0.8211 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.5723, allocations: 108.7 kB / 0.8212 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.5725, allocations: 38.59 kB / 0.8213 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.5725, allocations: 18.19 kB / 0.8213 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.5725, allocations: 1.516 kB / 0.8213 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.5725, allocations: 33.45 kB / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5725, allocations: 0 / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6): time 0.0005688/0.5731, allocations: 235.5 kB / 0.8216 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.5731, allocations: 57.14 kB / 0.8216 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.5732, allocations: 103.6 kB / 0.8217 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.5732, allocations: 30.3 kB / 0.8217 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.545e-05/0.5732, allocations: 81.2 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.5732, allocations: 24.39 kB / 0.8218 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.5733, allocations: 19.97 kB / 0.8219 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.5733, allocations: 314.2 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.5733, allocations: 11.58 kB / 0.8222 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.5734, allocations: 12.98 kB / 0.8222 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.5735, allocations: 28.59 kB / 0.8222 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.5735, allocations: 4.438 kB / 0.8222 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001098/0.5736, allocations: 75.59 kB / 0.8223 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5736, allocations: 5.656 kB / 0.8223 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5736, allocations: 4.641 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5736, allocations: 1.031 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.5737, allocations: 11.36 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5737, allocations: 4.656 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.5737, allocations: 1.156 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.5737, allocations: 1.781 kB / 0.8223 GB, free: 25.84 MB / 0.6387 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.015e-05/0.5737, allocations: 120.9 kB / 0.8224 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.5738, allocations: 3.047 kB / 0.8224 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.5739, allocations: 80.44 kB / 0.8225 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5739, allocations: 1.156 kB / 0.8225 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.5739, allocations: 0.5 kB / 0.8225 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5739, allocations: 0.5625 kB / 0.8225 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.5742, allocations: 261.5 kB / 0.8228 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5742, allocations: 4.438 kB / 0.8228 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.5742, allocations: 12.12 kB / 0.8228 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5742, allocations: 1.344 kB / 0.8228 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.5743, allocations: 5.188 kB / 0.8228 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5743, allocations: 1.969 kB / 0.8228 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5743, allocations: 1.281 kB / 0.8228 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.5744, allocations: 180.9 kB / 0.823 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.5744, allocations: 8.641 kB / 0.823 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.5745, allocations: 6.203 kB / 0.823 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.5745, allocations: 5.5 kB / 0.823 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.5745, allocations: 4.781 kB / 0.823 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.5746, allocations: 3.469 kB / 0.823 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.142e-05/0.5746, allocations: 77.23 kB / 0.8231 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.5746, allocations: 5.531 kB / 0.8231 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002551/0.5748, allocations: 27.09 kB / 0.8231 GB, free: 25.14 MB / 0.6387 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.0001427/0.575, allocations: 117.7 kB / 0.8232 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.5751, allocations: 39.86 kB / 0.8232 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5751, allocations: 0 / 0.8232 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.5751, allocations: 19.28 kB / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.5753, allocations: 10.3 kB / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.5757, allocations: 194.6 kB / 0.8235 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.534e-05/0.5758, allocations: 67.77 kB / 0.8235 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.5758, allocations: 7.891 kB / 0.8235 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.5758, allocations: 11 kB / 0.8235 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.5758, allocations: 0 / 0.8235 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of Templates: time 0.003265/0.5791, allocations: 0.6535 MB / 0.8242 GB, free: 24.69 MB / 0.6387 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 sys.exit(0), Time elapsed: 6.727727120742202] Failed to read output from testmodel.py, exit status != 0: 0.5874947607517242 0.5983635660000001 0.024347768000000002 Calling exit ...